Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.915/1.915, allocations: 285.4 MB / 298 MB, free: 6.004 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.001509/0.001509, allocations: 180.8 kB / 366.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0009396/0.0009399, allocations: 95.81 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.344e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9105/0.9105, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2676/1.178, allocations: 172.5 MB / 1.139 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004229/1.179, allocations: 102.6 kB / 1.14 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2592/1.438, allocations: 104.8 MB / 1.242 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.318e-06/1.438, allocations: 4 kB / 1.242 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001296/1.438, allocations: 56 kB / 1.242 GB, free: 1.477 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.008877/1.447, allocations: 2.452 MB / 1.244 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/1.447, allocations: 11.97 kB / 1.244 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001894/1.449, allocations: 470.4 kB / 1.245 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006548/1.456, allocations: 1.003 MB / 1.246 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004824/1.46, allocations: 1.65 MB / 1.247 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/1.461, allocations: 226 kB / 1.248 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/1.462, allocations: 292 kB / 1.248 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/1.474, allocations: 4.723 MB / 1.253 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.185e-05/1.474, allocations: 3.938 kB / 1.253 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003886/1.474, allocations: 124 kB / 1.253 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000276/1.475, allocations: 197 kB / 1.253 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008543/1.483, allocations: 4.139 MB / 1.257 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7973/2.28, allocations: 23.09 MB / 1.279 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00546/2.286, allocations: 3.151 MB / 1.282 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/2.288, allocations: 0.8927 MB / 1.283 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/2.288, allocations: 108.9 kB / 1.283 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/2.288, allocations: 45.64 kB / 1.284 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=82): time 5.22e-06/2.288, allocations: 0 / 1.284 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82): time 0.002944/2.291, allocations: 1.413 MB / 1.285 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/2.291, allocations: 219 kB / 1.285 GB, free: 181 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/2.293, allocations: 0.9886 MB / 1.286 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/2.293, allocations: 38.67 kB / 1.286 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/2.294, allocations: 1.289 MB / 1.287 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/2.295, allocations: 294.2 kB / 1.288 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.504e-05/2.295, allocations: 34.06 kB / 1.288 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000204/2.295, allocations: 404.4 kB / 1.288 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/2.296, allocations: 0.8519 MB / 1.289 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/2.298, allocations: 1.467 MB / 1.29 GB, free: 179 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/2.3, allocations: 1.154 MB / 1.291 GB, free: 179 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/2.3, allocations: 5.469 kB / 1.291 GB, free: 179 MB / 0.8542 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00458/2.305, allocations: 2.417 MB / 1.294 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001826/2.307, allocations: 7.497 MB / 1.301 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-05/2.307, allocations: 18.09 kB / 1.301 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.026e-05/2.307, allocations: 30.53 kB / 1.301 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/2.309, allocations: 473.2 kB / 1.302 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.438e-05/2.309, allocations: 42.72 kB / 1.302 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/2.311, allocations: 354.7 kB / 1.302 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/2.311, allocations: 79.05 kB / 1.302 GB, free: 171 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/2.311, allocations: 3.469 kB / 1.302 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003973/2.315, allocations: 2.155 MB / 1.304 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-05/2.315, allocations: 19.06 kB / 1.304 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.823e-05/2.315, allocations: 37.23 kB / 1.304 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/2.317, allocations: 438.2 kB / 1.305 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.688e-05/2.317, allocations: 40.73 kB / 1.305 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/2.319, allocations: 252.8 kB / 1.305 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/2.319, allocations: 80.5 kB / 1.305 GB, free: 170.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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 prepare postOptimizeDAE: time 0.0006041/2.319, allocations: 204.8 kB / 1.305 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008186/2.32, allocations: 96.86 kB / 1.305 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/2.323, allocations: 1.533 MB / 1.307 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/2.323, allocations: 10.97 kB / 1.307 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/2.323, allocations: 2.531 kB / 1.307 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/2.323, allocations: 5.484 kB / 1.307 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/2.334, allocations: 4.448 MB / 1.311 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/2.334, allocations: 2.094 kB / 1.311 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/2.335, allocations: 243.1 kB / 1.311 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/2.335, allocations: 6.531 kB / 1.311 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/2.335, allocations: 17.28 kB / 1.311 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/2.335, allocations: 3.969 kB / 1.311 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/2.335, allocations: 1.953 kB / 1.311 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/2.338, allocations: 1.932 MB / 1.313 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008668/2.339, allocations: 370.4 kB / 1.314 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/2.339, allocations: 13.94 kB / 1.314 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/2.34, allocations: 126.6 kB / 1.314 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/2.34, allocations: 53.22 kB / 1.314 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/2.34, allocations: 21.64 kB / 1.314 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001392/2.342, allocations: 0.7786 MB / 1.315 GB, free: 169 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/2.342, allocations: 2.438 kB / 1.315 GB, free: 169 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005022/2.347, allocations: 1.362 MB / 1.316 GB, free: 168.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (85): * Single equations (assignments): 85 * 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.002956/2.35, allocations: 2.928 MB / 1.319 GB, free: 167 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005854/2.356, allocations: 2.897 MB / 1.322 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/2.356, allocations: 0 / 1.322 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/2.357, allocations: 0.6417 MB / 1.322 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/2.358, allocations: 170.3 kB / 1.322 GB, free: 166 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/2.369, allocations: 4.471 MB / 1.327 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/2.372, allocations: 2.257 MB / 1.329 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002993/2.375, allocations: 1.157 MB / 1.33 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/2.376, allocations: 0.821 MB / 1.331 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of SimCode: time 4.117e-06/2.376, allocations: 0 / 1.331 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06109/2.437, allocations: 32.37 MB / 1.363 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/2.438, allocations: 189.7 kB / 1.363 GB, free: 161 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/5.303, allocations: 0 / 1.363 GB, free: 161 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)