Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002025/0.002025, allocations: 176.9 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.2 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009252/0.0009257, allocations: 78.66 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.385e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6943/0.6943, allocations: 116.3 MB / 0.9734 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2675/0.9619, allocations: 165.1 MB / 1.135 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004207/0.9623, allocations: 101.1 kB / 1.135 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06253/1.025, allocations: 16.39 MB / 1.151 GB, free: 444 kB / 0.7448 GB Notification: Performance of FrontEnd: time 2.194e-06/1.025, allocations: 0 / 1.151 GB, free: 444 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.271e-05/1.025, allocations: 8 kB / 1.151 GB, free: 436 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001127/1.026, allocations: 0.5177 MB / 1.151 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/1.026, allocations: 12.03 kB / 1.151 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/1.028, allocations: 87.62 kB / 1.151 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/1.028, allocations: 269 kB / 1.152 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/1.028, allocations: 8 kB / 1.152 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/1.028, allocations: 12 kB / 1.152 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005876/1.029, allocations: 224.9 kB / 1.152 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008298/1.03, allocations: 329.5 kB / 1.152 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/1.03, allocations: 5.125 kB / 1.152 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/1.03, allocations: 0 / 1.152 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.274e-05/1.03, allocations: 24.42 kB / 1.152 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/1.032, allocations: 1.478 MB / 1.154 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/1.033, allocations: 214.5 kB / 1.154 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/1.033, allocations: 108.8 kB / 1.154 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/1.033, allocations: 81.11 kB / 1.154 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/1.034, allocations: 42.56 kB / 1.154 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/1.034, allocations: 0 / 1.154 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.002011/1.036, allocations: 0.7146 MB / 1.155 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/1.036, allocations: 51.41 kB / 1.155 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/1.036, allocations: 157.9 kB / 1.155 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/1.036, allocations: 26.73 kB / 1.155 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/1.036, allocations: 167.9 kB / 1.155 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.88e-05/1.036, allocations: 67 kB / 1.155 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/1.036, allocations: 0 / 1.155 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001739/1.036, allocations: 327 kB / 1.155 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/1.037, allocations: 104 kB / 1.156 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/1.037, allocations: 162.7 kB / 1.156 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/1.037, allocations: 157.8 kB / 1.156 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/1.038, allocations: 0 / 1.156 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00124/1.039, allocations: 398.1 kB / 1.156 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.039, allocations: 11.88 kB / 1.156 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.039, allocations: 4.938 kB / 1.156 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/1.039, allocations: 96.08 kB / 1.156 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/1.04, allocations: 48.09 kB / 1.156 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/1.042, allocations: 1.662 MB / 1.158 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/1.043, allocations: 12.02 kB / 1.158 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/1.043, allocations: 12 kB / 1.158 GB, free: 8.379 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001539/1.043, allocations: 108.9 kB / 1.158 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007277/1.044, allocations: 267.9 kB / 1.158 GB, free: 8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/1.044, allocations: 19.8 kB / 1.158 GB, free: 7.98 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008633/1.045, allocations: 297.3 kB / 1.159 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.045, allocations: 6.25 kB / 1.159 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/1.045, allocations: 0 / 1.159 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.045, allocations: 0 / 1.159 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/1.046, allocations: 0.6649 MB / 1.159 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.046, allocations: 0 / 1.159 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/1.046, allocations: 59.95 kB / 1.159 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/1.046, allocations: 4 kB / 1.159 GB, free: 6.906 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/1.047, allocations: 0 / 1.159 GB, free: 6.906 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-06/1.047, allocations: 5.625 kB / 1.159 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.047, allocations: 0 / 1.159 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009561/1.048, allocations: 0.5354 MB / 1.16 GB, free: 6.336 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/1.048, allocations: 112.9 kB / 1.16 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/1.048, allocations: 3.984 kB / 1.16 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/1.048, allocations: 11.98 kB / 1.16 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/1.048, allocations: 11.94 kB / 1.16 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/1.048, allocations: 8 kB / 1.16 GB, free: 6.172 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001539/1.048, allocations: 136.7 kB / 1.16 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.31e-07/1.048, allocations: 0 / 1.16 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006331/1.049, allocations: 75.98 kB / 1.16 GB, free: 5.965 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/1.051, allocations: 1.226 MB / 1.161 GB, free: 4.695 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009769/1.052, allocations: 389.6 kB / 1.162 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.052, allocations: 0 / 1.162 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/1.052, allocations: 119.8 kB / 1.162 GB, free: 4.188 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/1.052, allocations: 31.16 kB / 1.162 GB, free: 4.164 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/1.054, allocations: 0.5575 MB / 1.163 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/1.055, allocations: 0.775 MB / 1.163 GB, free: 2.773 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003122/1.055, allocations: 60.39 kB / 1.163 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/1.055, allocations: 67.41 kB / 1.163 GB, free: 2.652 MB / 0.7605 GB Notification: Performance of SimCode: time 8.62e-07/1.055, allocations: 0 / 1.163 GB, free: 2.652 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/1.09, allocations: 4.111 MB / 1.167 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003391/1.09, allocations: 157.8 kB / 1.168 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.9, allocations: 4 kB / 1.168 GB, free: 14.42 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)