Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001107/0.001107, allocations: 183.3 kB / 371.6 MB, free: 3.379 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.764/1.764, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001035/0.001035, allocations: 87.42 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.298e-05/5.301e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3203, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.405, allocations: 173.4 MB / 1.149 GB, free: 19.87 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004498/1.406, allocations: 100.5 kB / 1.149 GB, free: 19.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2625/1.668, allocations: 104.8 MB / 1.252 GB, free: 11.95 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.775e-06/1.668, allocations: 0 / 1.252 GB, free: 11.95 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001325/1.669, allocations: 60 kB / 1.252 GB, free: 11.89 MB / 0.823 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.007948/1.676, allocations: 2.453 MB / 1.254 GB, free: 9.379 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/1.677, allocations: 11.97 kB / 1.254 GB, free: 9.367 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001052/1.678, allocations: 462.5 kB / 1.255 GB, free: 8.902 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005797/1.683, allocations: 1.003 MB / 1.256 GB, free: 7.895 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004288/1.688, allocations: 1.645 MB / 1.257 GB, free: 6.207 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/1.688, allocations: 226 kB / 1.257 GB, free: 5.984 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006506/1.689, allocations: 292 kB / 1.258 GB, free: 5.699 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/1.702, allocations: 4.727 MB / 1.262 GB, free: 0.875 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/1.703, allocations: 0 / 1.262 GB, free: 0.875 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009687/1.704, allocations: 128 kB / 1.262 GB, free: 0.75 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003868/1.704, allocations: 193 kB / 1.263 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/1.715, allocations: 4.143 MB / 1.267 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04689/1.762, allocations: 23.11 MB / 1.289 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006015/1.769, allocations: 3.15 MB / 1.292 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/1.77, allocations: 0.8942 MB / 1.293 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/1.77, allocations: 113.8 kB / 1.293 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/1.77, allocations: 39.34 kB / 1.293 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=82): time 4.959e-06/1.77, allocations: 0 / 1.293 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82): time 0.003119/1.774, allocations: 1.412 MB / 1.295 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/1.774, allocations: 218.4 kB / 1.295 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/1.776, allocations: 0.9843 MB / 1.296 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/1.776, allocations: 41.7 kB / 1.296 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/1.778, allocations: 1.281 MB / 1.297 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004797/1.778, allocations: 303.9 kB / 1.297 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/1.778, allocations: 36.19 kB / 1.298 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003339/1.779, allocations: 414.7 kB / 1.298 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.78, allocations: 0.8472 MB / 1.299 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/1.782, allocations: 1.471 MB / 1.3 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/1.784, allocations: 1.148 MB / 1.301 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.837e-05/1.784, allocations: 8 kB / 1.301 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004525/1.789, allocations: 2.418 MB / 1.304 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.005092/1.794, allocations: 7.49 MB / 1.311 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.367e-05/1.794, allocations: 23.98 kB / 1.311 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-05/1.794, allocations: 28 kB / 1.311 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/1.797, allocations: 467.2 kB / 1.311 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.12e-05/1.797, allocations: 39.86 kB / 1.312 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.799, allocations: 353.8 kB / 1.312 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/1.799, allocations: 75.98 kB / 1.312 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/1.799, allocations: 6.188 kB / 1.312 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00448/1.804, allocations: 2.156 MB / 1.314 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/1.804, allocations: 20 kB / 1.314 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.805e-05/1.804, allocations: 31.95 kB / 1.314 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/1.806, allocations: 443.3 kB / 1.315 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.788e-05/1.806, allocations: 39.86 kB / 1.315 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.808, allocations: 254.7 kB / 1.315 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/1.808, allocations: 79.98 kB / 1.315 GB, free: 7.531 MB / 0.8855 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.0005761/1.809, allocations: 196.4 kB / 1.315 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/1.809, allocations: 94.88 kB / 1.315 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/1.812, allocations: 1.535 MB / 1.317 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/1.812, allocations: 11.95 kB / 1.317 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.812, allocations: 4 kB / 1.317 GB, free: 5.668 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.812, allocations: 3.984 kB / 1.317 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/1.823, allocations: 4.447 MB / 1.321 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.823, allocations: 7.938 kB / 1.321 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.824, allocations: 239.6 kB / 1.321 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.491e-05/1.824, allocations: 4 kB / 1.321 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-05/1.824, allocations: 15.98 kB / 1.321 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/1.824, allocations: 8 kB / 1.321 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.824, allocations: 0 / 1.321 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/1.827, allocations: 1.94 MB / 1.323 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009745/1.828, allocations: 367.5 kB / 1.324 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/1.828, allocations: 12 kB / 1.324 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.829, allocations: 127.8 kB / 1.324 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/1.83, allocations: 52.67 kB / 1.324 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.307e-05/1.83, allocations: 23.98 kB / 1.324 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001755/1.831, allocations: 0.7802 MB / 1.324 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.9e-07/1.831, allocations: 0 / 1.324 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0056/1.837, allocations: 1.356 MB / 1.326 GB, free: 12.1 MB / 0.9011 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.003609/1.841, allocations: 2.93 MB / 1.329 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006066/1.847, allocations: 2.896 MB / 1.331 GB, free: 6.219 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.847, allocations: 4.062 kB / 1.331 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/1.848, allocations: 0.6367 MB / 1.332 GB, free: 5.582 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/1.85, allocations: 173.6 kB / 1.332 GB, free: 5.418 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.865, allocations: 4.467 MB / 1.337 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004149/1.87, allocations: 2.267 MB / 1.339 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003263/1.873, allocations: 1.152 MB / 1.34 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/1.874, allocations: 0.8273 MB / 1.341 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of SimCode: time 1.643e-06/1.874, allocations: 0 / 1.341 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.066/1.94, allocations: 32.37 MB / 1.372 GB, free: 12.43 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.941, allocations: 176.1 kB / 1.373 GB, free: 12.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/4.896, allocations: 0 / 1.373 GB, free: 12.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)