Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 249.3 MB / 261.8 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 189.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008798/0.0008799, allocations: 90.48 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.23e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2763, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9487/1.225, allocations: 166.2 MB / 1.054 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/1.225, allocations: 104.3 kB / 1.054 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2776/1.503, allocations: 104.8 MB / 1.157 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.417e-06/1.503, allocations: 4 kB / 1.157 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.000159/1.503, allocations: 63.98 kB / 1.157 GB, free: 15.17 MB / 0.7761 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.009218/1.513, allocations: 2.443 MB / 1.159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/1.513, allocations: 8.031 kB / 1.159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002143/1.515, allocations: 466.4 kB / 1.16 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007047/1.522, allocations: 1.015 MB / 1.161 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006205/1.528, allocations: 1.642 MB / 1.162 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004421/1.529, allocations: 226 kB / 1.162 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002263/1.531, allocations: 296 kB / 1.163 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02019/1.551, allocations: 4.727 MB / 1.167 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/1.551, allocations: 3.938 kB / 1.167 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001711/1.553, allocations: 131.9 kB / 1.167 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003491/1.554, allocations: 193.1 kB / 1.168 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/1.566, allocations: 4.128 MB / 1.172 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04323/1.609, allocations: 23.11 MB / 1.194 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005502/1.615, allocations: 3.146 MB / 1.197 GB, free: 2.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/1.616, allocations: 0.8982 MB / 1.198 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/1.617, allocations: 105.9 kB / 1.198 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.047e-05/1.617, allocations: 51.28 kB / 1.198 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 5.69e-06/1.617, allocations: 0 / 1.198 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of matching and sorting (n=82): time 0.002964/1.62, allocations: 1.404 MB / 1.2 GB, free: 404 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/1.62, allocations: 226.5 kB / 1.2 GB, free: 128 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/1.622, allocations: 0.9882 MB / 1.201 GB, free: 15.13 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/1.622, allocations: 37.7 kB / 1.201 GB, free: 15.09 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.623, allocations: 1.281 MB / 1.202 GB, free: 13.79 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/1.624, allocations: 303.8 kB / 1.202 GB, free: 13.48 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/1.624, allocations: 36 kB / 1.202 GB, free: 13.45 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002903/1.624, allocations: 406.7 kB / 1.203 GB, free: 13.04 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.626, allocations: 0.8511 MB / 1.204 GB, free: 12.19 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/1.628, allocations: 1.471 MB / 1.205 GB, free: 10.44 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/1.629, allocations: 1.148 MB / 1.206 GB, free: 9.289 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-05/1.63, allocations: 12 kB / 1.206 GB, free: 9.277 MB / 0.823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004276/1.634, allocations: 2.414 MB / 1.209 GB, free: 6.855 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00387/1.638, allocations: 7.487 MB / 1.216 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.801e-05/1.638, allocations: 31.97 kB / 1.216 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.921e-05/1.638, allocations: 28 kB / 1.216 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/1.64, allocations: 471.2 kB / 1.216 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.741e-05/1.64, allocations: 39.86 kB / 1.216 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/1.642, allocations: 345.9 kB / 1.217 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003738/1.643, allocations: 75.98 kB / 1.217 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.643, allocations: 4 kB / 1.217 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004429/1.647, allocations: 2.152 MB / 1.219 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.175e-05/1.647, allocations: 23.95 kB / 1.219 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.753e-05/1.647, allocations: 28 kB / 1.219 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/1.649, allocations: 451.3 kB / 1.219 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.303e-05/1.649, allocations: 39.86 kB / 1.219 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/1.651, allocations: 246.6 kB / 1.22 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/1.651, allocations: 83.92 kB / 1.22 GB, free: 10.8 MB / 0.8386 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.000595/1.652, allocations: 204.4 kB / 1.22 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005203/1.652, allocations: 102.8 kB / 1.22 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/1.655, allocations: 1.527 MB / 1.222 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.655, allocations: 12 kB / 1.222 GB, free: 8.926 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/1.655, allocations: 7.984 kB / 1.222 GB, free: 8.918 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.655, allocations: 3.984 kB / 1.222 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/1.666, allocations: 4.451 MB / 1.226 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.666, allocations: 0 / 1.226 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/1.667, allocations: 231.6 kB / 1.226 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.606e-05/1.667, allocations: 8 kB / 1.226 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/1.667, allocations: 19.98 kB / 1.226 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.042e-05/1.667, allocations: 12 kB / 1.226 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.667, allocations: 3.953 kB / 1.226 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/1.67, allocations: 1.932 MB / 1.228 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009604/1.671, allocations: 363.5 kB / 1.228 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003469/1.671, allocations: 20 kB / 1.228 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.672, allocations: 123.8 kB / 1.229 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.672, allocations: 56.61 kB / 1.229 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/1.672, allocations: 23.98 kB / 1.229 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001513/1.674, allocations: 0.7763 MB / 1.229 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.7e-07/1.674, allocations: 0 / 1.229 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005463/1.68, allocations: 1.36 MB / 1.231 GB, free: 15.35 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.003589/1.683, allocations: 2.921 MB / 1.234 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005168/1.688, allocations: 2.899 MB / 1.236 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/1.688, allocations: 0 / 1.236 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009014/1.689, allocations: 0.6373 MB / 1.237 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/1.691, allocations: 169.6 kB / 1.237 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.705, allocations: 4.473 MB / 1.242 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003736/1.708, allocations: 2.263 MB / 1.244 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003551/1.712, allocations: 1.156 MB / 1.245 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/1.714, allocations: 0.8235 MB / 1.246 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of SimCode: time 2.524e-06/1.714, allocations: 0 / 1.246 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.707/2.421, allocations: 32.36 MB / 1.277 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/2.421, allocations: 189.9 kB / 1.277 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/5.192, allocations: 0 / 1.277 GB, free: 250.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)