Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 102 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 195 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6673/0.6673, allocations: 115.3 MB / 406.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 76.17 MB / 0.556 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01575/0.3219, allocations: 17.06 MB / 0.5727 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007747/0.3297, allocations: 5.785 MB / 0.5783 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.3308, allocations: 44.97 kB / 0.5784 GB, free: 20.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.3333, allocations: 1.219 MB / 0.5796 GB, free: 19.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.3349, allocations: 0.7692 MB / 0.5803 GB, free: 19.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.3375, allocations: 1.227 MB / 0.5815 GB, free: 18.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003647/0.3411, allocations: 4.312 MB / 0.5857 GB, free: 16.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009079/0.3502, allocations: 8.137 MB / 0.5937 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.3528, allocations: 1.925 MB / 0.5956 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.355, allocations: 2.4 MB / 0.5979 GB, free: 9.504 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003898/0.3554, allocations: 448 kB / 0.5983 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.3565, allocations: 0.8506 MB / 0.5992 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000979/0.3575, allocations: 1.723 MB / 0.6008 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.3587, allocations: 1.755 MB / 0.6026 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.3624, allocations: 6.373 MB / 0.6088 GB, free: 14.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3624, allocations: 0 / 0.6088 GB, free: 14.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3624, allocations: 4 kB / 0.6088 GB, free: 14.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.13e-05/0.3625, allocations: 0 / 0.6088 GB, free: 14.33 MB / 462.1 MB 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.005007/0.3675, allocations: 3.076 MB / 0.6118 GB, free: 11.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3676, allocations: 8.031 kB / 0.6118 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005086/0.3681, allocations: 462.7 kB / 0.6122 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004677/0.3728, allocations: 1.121 MB / 0.6133 GB, free: 9.594 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.3753, allocations: 1.6 MB / 0.6149 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.3754, allocations: 222.4 kB / 0.6151 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004495/0.3759, allocations: 288.4 kB / 0.6154 GB, free: 7.453 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008216/0.3841, allocations: 5.311 MB / 0.6206 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.518e-05/0.3842, allocations: 3.938 kB / 0.6206 GB, free: 2.039 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003757/0.3846, allocations: 124 kB / 0.6207 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002167/0.3848, allocations: 205.1 kB / 0.6209 GB, free: 1.715 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007161/0.392, allocations: 4.763 MB / 0.6255 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02639/0.4184, allocations: 23.18 MB / 0.6482 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/0.4225, allocations: 3.18 MB / 0.6513 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.4237, allocations: 0.9056 MB / 0.6522 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.4239, allocations: 117.6 kB / 0.6523 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.424, allocations: 51.22 kB / 0.6523 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 2.976e-06/0.424, allocations: 0 / 0.6523 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.002928/0.4269, allocations: 2.077 MB / 0.6544 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.516e-05/0.427, allocations: 223 kB / 0.6546 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.4284, allocations: 1.102 MB / 0.6556 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/0.4285, allocations: 41.7 kB / 0.6557 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007242/0.4292, allocations: 1.277 MB / 0.6569 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.4295, allocations: 303.9 kB / 0.6572 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004776/0.43, allocations: 351.1 kB / 0.6576 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.4301, allocations: 334 kB / 0.6579 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.4312, allocations: 0.9025 MB / 0.6588 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.4327, allocations: 1.511 MB / 0.6602 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.4352, allocations: 2.362 MB / 0.6625 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.4352, allocations: 4 kB / 0.6625 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003254/0.4385, allocations: 2.492 MB / 0.665 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.4385, allocations: 12 kB / 0.665 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.4385, allocations: 20 kB / 0.665 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.4386, allocations: 28 kB / 0.665 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.44, allocations: 459.2 kB / 0.6655 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.605e-05/0.4401, allocations: 43.84 kB / 0.6655 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.4414, allocations: 350 kB / 0.6658 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.4415, allocations: 75.98 kB / 0.6659 GB, free: 380 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002262/0.4438, allocations: 1.913 MB / 0.6678 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001352/0.4452, allocations: 1.435 MB / 0.6692 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002227/0.4474, allocations: 2.198 MB / 0.6713 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.054e-05/0.4474, allocations: 7.938 kB / 0.6713 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003287/0.4507, allocations: 2.324 MB / 0.6736 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4507, allocations: 12.22 kB / 0.6736 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.4508, allocations: 24 kB / 0.6736 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.4508, allocations: 28 kB / 0.6737 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.4522, allocations: 439.3 kB / 0.6741 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.62e-05/0.4523, allocations: 47.86 kB / 0.6741 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4537, allocations: 282.5 kB / 0.6744 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.4539, allocations: 83.92 kB / 0.6745 GB, free: 7.027 MB / 0.5137 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000337/0.4542, allocations: 283.6 kB / 0.6748 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.4545, allocations: 98.88 kB / 0.6748 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.4571, allocations: 1.556 MB / 0.6764 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4571, allocations: 8 kB / 0.6764 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.4571, allocations: 4 kB / 0.6764 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4571, allocations: 7.922 kB / 0.6764 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00745/0.4646, allocations: 4.486 MB / 0.6808 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.4646, allocations: 4 kB / 0.6808 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009612/0.4656, allocations: 255.6 kB / 0.681 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.075e-05/0.4656, allocations: 4 kB / 0.681 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.4657, allocations: 12 kB / 0.681 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.698e-05/0.4657, allocations: 7.938 kB / 0.681 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.4657, allocations: 4 kB / 0.681 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.4682, allocations: 1.911 MB / 0.6829 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/0.4687, allocations: 319.7 kB / 0.6832 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/0.469, allocations: 23.91 kB / 0.6832 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.47, allocations: 127.7 kB / 0.6834 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.4702, allocations: 52.53 kB / 0.6834 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.4702, allocations: 27.94 kB / 0.6834 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001166/0.4714, allocations: 0.7956 MB / 0.6842 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4714, allocations: 0 / 0.6842 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003419/0.4748, allocations: 1.305 MB / 0.6855 GB, free: 11.56 MB / 0.5294 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002742/0.4776, allocations: 2.484 MB / 0.6879 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005188/0.4828, allocations: 3.475 MB / 0.6913 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.4828, allocations: 0 / 0.6913 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000867/0.4837, allocations: 0.6593 MB / 0.6919 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.4851, allocations: 203 kB / 0.6921 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/0.5072, allocations: 16.74 MB / 0.7085 GB, free: 3.234 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/0.5095, allocations: 2.21 MB / 0.7106 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002297/0.5118, allocations: 1.097 MB / 0.7117 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009808/0.5128, allocations: 0.8351 MB / 0.7125 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/0.5128, allocations: 0 / 0.7125 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3185/0.8313, allocations: 31.11 MB / 0.7429 GB, free: 256 kB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2692/1.101, allocations: 225.9 kB / 0.7431 GB, free: 179 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/3.751, allocations: 0.9844 kB / 0.7431 GB, free: 179 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)