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.001168/0.001168, allocations: 106.6 kB / 16.27 MB, free: 6.055 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.001293/0.001293, allocations: 191.6 kB / 17.2 MB, free: 5.684 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7476/0.7476, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3501, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01903/0.3692, allocations: 17.16 MB / 0.5841 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009125/0.3784, allocations: 5.842 MB / 0.5898 GB, free: 16.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.3804, allocations: 54 kB / 0.5898 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.3838, allocations: 1.303 MB / 0.5911 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.3863, allocations: 0.8355 MB / 0.5919 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.3893, allocations: 1.329 MB / 0.5932 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004027/0.3934, allocations: 4.29 MB / 0.5974 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006465/0.3999, allocations: 6.92 MB / 0.6041 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.4021, allocations: 1.905 MB / 0.606 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.4047, allocations: 2.279 MB / 0.6082 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008812/0.4056, allocations: 452 kB / 0.6087 GB, free: 336 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.4076, allocations: 0.8506 MB / 0.6095 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002078/0.4097, allocations: 1.716 MB / 0.6112 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002947/0.4126, allocations: 1.755 MB / 0.6129 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005771/0.4184, allocations: 6.342 MB / 0.6191 GB, free: 5.633 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4184, allocations: 0 / 0.6191 GB, free: 5.633 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4185, allocations: 0 / 0.6191 GB, free: 5.633 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001625/0.4186, allocations: 0 / 0.6191 GB, free: 5.633 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.007051/0.4257, allocations: 3.064 MB / 0.6221 GB, free: 2.508 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.4258, allocations: 16.62 kB / 0.6221 GB, free: 2.492 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006334/0.4264, allocations: 462.7 kB / 0.6225 GB, free: 2.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/0.4312, allocations: 1.117 MB / 0.6236 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/0.4343, allocations: 1.6 MB / 0.6252 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.4345, allocations: 226.3 kB / 0.6254 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005387/0.435, allocations: 300.3 kB / 0.6257 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.4452, allocations: 5.299 MB / 0.6309 GB, free: 9.348 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.126e-05/0.4453, allocations: 7.922 kB / 0.6309 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005623/0.4458, allocations: 128 kB / 0.631 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002329/0.4461, allocations: 205.1 kB / 0.6312 GB, free: 9.012 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008206/0.4543, allocations: 4.757 MB / 0.6358 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02669/0.481, allocations: 23.18 MB / 0.6585 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004395/0.4854, allocations: 3.183 MB / 0.6616 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.4867, allocations: 0.9149 MB / 0.6625 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.4869, allocations: 105.7 kB / 0.6626 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.4869, allocations: 47.22 kB / 0.6626 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/0.4869, allocations: 0 / 0.6626 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.003125/0.4901, allocations: 2.074 MB / 0.6646 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/0.4902, allocations: 226.2 kB / 0.6649 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.4916, allocations: 1.102 MB / 0.6659 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.736e-05/0.4917, allocations: 37.7 kB / 0.666 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007413/0.4925, allocations: 1.277 MB / 0.6672 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.4927, allocations: 311.8 kB / 0.6675 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005011/0.4932, allocations: 355 kB / 0.6678 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4933, allocations: 338 kB / 0.6682 GB, free: 460 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.4945, allocations: 0.8908 MB / 0.669 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.4961, allocations: 1.515 MB / 0.6705 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/0.4988, allocations: 2.358 MB / 0.6728 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.4988, allocations: 4 kB / 0.6728 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003639/0.5025, allocations: 2.491 MB / 0.6753 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.5025, allocations: 12.91 kB / 0.6753 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/0.5025, allocations: 20 kB / 0.6753 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.445e-05/0.5026, allocations: 32 kB / 0.6753 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.5041, allocations: 455.2 kB / 0.6758 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.204e-05/0.5042, allocations: 39.86 kB / 0.6758 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.5057, allocations: 345.8 kB / 0.6761 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.5058, allocations: 79.92 kB / 0.6762 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002574/0.5084, allocations: 1.909 MB / 0.6781 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001473/0.5099, allocations: 1.438 MB / 0.6795 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002448/0.5124, allocations: 2.202 MB / 0.6816 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.386e-05/0.5124, allocations: 8 kB / 0.6816 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003255/0.5156, allocations: 2.32 MB / 0.6839 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.5157, allocations: 18.17 kB / 0.6839 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.5157, allocations: 20 kB / 0.6839 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.5157, allocations: 28 kB / 0.684 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.5171, allocations: 439.8 kB / 0.6844 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-05/0.5171, allocations: 39.86 kB / 0.6844 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.5185, allocations: 290.5 kB / 0.6847 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.5186, allocations: 79.92 kB / 0.6848 GB, free: 14.33 MB / 0.5294 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.0003079/0.519, allocations: 283.6 kB / 0.685 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.5193, allocations: 102.8 kB / 0.6851 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.5215, allocations: 1.556 MB / 0.6867 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.5215, allocations: 12 kB / 0.6867 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5215, allocations: 3.938 kB / 0.6867 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.5215, allocations: 11.92 kB / 0.6867 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006192/0.5277, allocations: 4.482 MB / 0.6911 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.5277, allocations: 0 / 0.6911 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/0.5287, allocations: 251.6 kB / 0.6913 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.5287, allocations: 4 kB / 0.6913 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.5288, allocations: 20 kB / 0.6913 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.5288, allocations: 15.86 kB / 0.6913 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5288, allocations: 4 kB / 0.6913 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.5307, allocations: 1.908 MB / 0.6932 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/0.5312, allocations: 327.5 kB / 0.6935 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.5313, allocations: 16 kB / 0.6935 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/0.5322, allocations: 123.8 kB / 0.6936 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.5323, allocations: 48.53 kB / 0.6937 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.5324, allocations: 27.98 kB / 0.6937 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009275/0.5333, allocations: 0.7957 MB / 0.6945 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5333, allocations: 0 / 0.6945 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002901/0.5362, allocations: 1.309 MB / 0.6958 GB, free: 2.867 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.002152/0.5384, allocations: 2.48 MB / 0.6982 GB, free: 364 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00459/0.543, allocations: 3.475 MB / 0.7016 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.543, allocations: 0 / 0.7016 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008087/0.5438, allocations: 0.66 MB / 0.7022 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.5452, allocations: 203.6 kB / 0.7024 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/0.566, allocations: 15.56 MB / 0.7176 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/0.5684, allocations: 2.206 MB / 0.7198 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002341/0.5708, allocations: 1.101 MB / 0.7209 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.5719, allocations: 0.8351 MB / 0.7217 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/0.5719, allocations: 3.938 kB / 0.7217 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3131/0.885, allocations: 31.26 MB / 0.7522 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.658, allocations: 4.359 kB / 0.7522 GB, free: 155.8 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)