Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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.001871/0.001871, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.002071/0.002071, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.824/0.824, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003254/0.003254, allocations: 76.05 kB / 0.5735 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1603, allocations: 78.86 MB / 0.6505 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004423/0.1648, allocations: 2.604 MB / 0.6531 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.1673, allocations: 1.484 MB / 0.6545 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.562e-05/0.1674, allocations: 4 kB / 0.6545 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007734/0.1681, allocations: 232.8 kB / 0.6548 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.1686, allocations: 179.2 kB / 0.6549 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1689, allocations: 163.5 kB / 0.6551 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.1693, allocations: 227.3 kB / 0.6553 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.1696, allocations: 170.8 kB / 0.6555 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.1698, allocations: 99.61 kB / 0.6556 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.17, allocations: 111.6 kB / 0.6557 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.1701, allocations: 19.94 kB / 0.6557 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.1704, allocations: 219.5 kB / 0.6559 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1705, allocations: 71.86 kB / 0.656 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1707, allocations: 87.53 kB / 0.6561 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.1711, allocations: 326.9 kB / 0.6564 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1711, allocations: 7.938 kB / 0.6564 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.297e-06/0.1712, allocations: 0 / 0.6564 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.1712, allocations: 3.938 kB / 0.6564 GB, free: 13.63 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007526/0.1719, allocations: 494.7 kB / 0.6568 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.172, allocations: 8.031 kB / 0.6569 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.6e-05/0.172, allocations: 54.72 kB / 0.6569 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/0.1726, allocations: 80.7 kB / 0.657 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1729, allocations: 236.1 kB / 0.6572 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.173, allocations: 12.7 kB / 0.6572 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.173, allocations: 24.31 kB / 0.6572 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.1735, allocations: 320.2 kB / 0.6575 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1736, allocations: 3.938 kB / 0.6576 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.1736, allocations: 11.98 kB / 0.6576 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.1737, allocations: 20.27 kB / 0.6576 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.1741, allocations: 248.6 kB / 0.6578 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.1758, allocations: 1.63 MB / 0.6594 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.1765, allocations: 411.2 kB / 0.6598 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.1767, allocations: 85.66 kB / 0.6599 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.1768, allocations: 89.08 kB / 0.66 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1769, allocations: 42.56 kB / 0.66 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1769, allocations: 0 / 0.66 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006874/0.1776, allocations: 309 kB / 0.6603 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.1777, allocations: 85.03 kB / 0.6604 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1778, allocations: 172.7 kB / 0.6606 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1779, allocations: 29.7 kB / 0.6606 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.178, allocations: 148.2 kB / 0.6607 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.178, allocations: 51.78 kB / 0.6608 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.1781, allocations: 53.83 kB / 0.6608 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.1783, allocations: 330.8 kB / 0.6611 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1784, allocations: 80.81 kB / 0.6612 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.1786, allocations: 149.4 kB / 0.6614 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.179, allocations: 252.2 kB / 0.6616 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.179, allocations: 0 / 0.6616 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004362/0.1795, allocations: 265.6 kB / 0.6619 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1795, allocations: 8 kB / 0.6619 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1795, allocations: 4.094 kB / 0.6619 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1795, allocations: 4 kB / 0.6619 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.1798, allocations: 55.89 kB / 0.6619 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1798, allocations: 11.92 kB / 0.6619 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1799, allocations: 27.88 kB / 0.662 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.18, allocations: 12 kB / 0.662 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002012/0.1802, allocations: 180 kB / 0.6621 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001804/0.1804, allocations: 153.2 kB / 0.6623 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000304/0.1807, allocations: 230.1 kB / 0.6625 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.422e-06/0.1807, allocations: 4 kB / 0.6625 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003951/0.1811, allocations: 256.4 kB / 0.6628 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.1811, allocations: 5.719 kB / 0.6628 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1811, allocations: 4 kB / 0.6628 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.1811, allocations: 7.938 kB / 0.6628 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.1813, allocations: 52.25 kB / 0.6628 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1813, allocations: 4 kB / 0.6628 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.1815, allocations: 15.98 kB / 0.6628 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.1815, allocations: 8.047 kB / 0.6628 GB, free: 6.422 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * 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.0001213/0.1816, allocations: 192.2 kB / 0.663 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.1817, allocations: 19.89 kB / 0.6631 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.1821, allocations: 207.7 kB / 0.6632 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1821, allocations: 4 kB / 0.6633 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1821, allocations: 0 / 0.6633 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1821, allocations: 3.984 kB / 0.6633 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.1835, allocations: 0.9613 MB / 0.6642 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1835, allocations: 4 kB / 0.6642 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1836, allocations: 36.34 kB / 0.6642 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1836, allocations: 8 kB / 0.6642 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1837, allocations: 8 kB / 0.6642 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1837, allocations: 4 kB / 0.6643 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.1837, allocations: 7.938 kB / 0.6643 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.1841, allocations: 436.9 kB / 0.6647 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1843, allocations: 112.9 kB / 0.6648 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1843, allocations: 8 kB / 0.6648 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.1845, allocations: 15.98 kB / 0.6648 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.1845, allocations: 19.8 kB / 0.6648 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1846, allocations: 16 kB / 0.6648 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000138/0.1847, allocations: 139.2 kB / 0.665 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1847, allocations: 0 / 0.665 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005121/0.1852, allocations: 68 kB / 0.665 GB, free: 3.977 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0008182/0.1861, allocations: 0.9637 MB / 0.666 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.1866, allocations: 308.5 kB / 0.6663 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1866, allocations: 320 / 0.6663 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.1867, allocations: 91.75 kB / 0.6664 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.1872, allocations: 32.66 kB / 0.6664 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.1901, allocations: 2.443 MB / 0.6688 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.1906, allocations: 0.748 MB / 0.6695 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002002/0.1908, allocations: 77.47 kB / 0.6696 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.981e-05/0.1909, allocations: 47.42 kB / 0.6696 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1909, allocations: 0 / 0.6696 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.2165, allocations: 3.624 MB / 0.6732 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.334, allocations: 8.172 kB / 0.6732 GB, free: 11.49 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_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_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)