Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.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.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_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.00137/0.00137, allocations: 107.7 kB / 16.4 MB, free: 6.016 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.001378/0.001378, allocations: 195.8 kB / 17.34 MB, free: 5.609 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8238/0.8238, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003189/0.003189, allocations: 63.92 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.163, allocations: 78.87 MB / 0.6505 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004089/0.1671, allocations: 2.489 MB / 0.653 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1688, allocations: 0.7867 MB / 0.6537 GB, free: 340 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1689, allocations: 8 kB / 0.6537 GB, free: 332 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1703, allocations: 0.5219 MB / 0.6542 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1706, allocations: 107.5 kB / 0.6543 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.171, allocations: 115.8 kB / 0.6545 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.1713, allocations: 191.4 kB / 0.6546 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003871/0.1717, allocations: 158.4 kB / 0.6548 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1718, allocations: 83.75 kB / 0.6549 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.1721, allocations: 103.6 kB / 0.655 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.1721, allocations: 16 kB / 0.655 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.1723, allocations: 107.8 kB / 0.6551 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.78e-05/0.1724, allocations: 55.88 kB / 0.6551 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.279e-05/0.1725, allocations: 67.67 kB / 0.6552 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.1729, allocations: 223.1 kB / 0.6554 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1729, allocations: 3.938 kB / 0.6554 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1729, allocations: 0 / 0.6554 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1729, allocations: 0 / 0.6554 GB, free: 14.58 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006624/0.1736, allocations: 451 kB / 0.6558 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1736, allocations: 8.031 kB / 0.6559 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.1737, allocations: 54.73 kB / 0.6559 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003549/0.174, allocations: 44.8 kB / 0.656 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1743, allocations: 220.1 kB / 0.6562 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1743, allocations: 4.656 kB / 0.6562 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.1743, allocations: 12.38 kB / 0.6562 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.1748, allocations: 239.7 kB / 0.6564 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1748, allocations: 0 / 0.6564 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.1748, allocations: 8 kB / 0.6564 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.1748, allocations: 12.27 kB / 0.6564 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.1751, allocations: 144.7 kB / 0.6566 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1763, allocations: 1.138 MB / 0.6577 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.46e-05/0.1764, allocations: 38.56 kB / 0.6577 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.1764, allocations: 24.86 kB / 0.6577 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.1764, allocations: 0 / 0.6577 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1765, allocations: 42.58 kB / 0.6578 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1765, allocations: 0 / 0.6578 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001936/0.1767, allocations: 73.58 kB / 0.6578 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.1767, allocations: 51.41 kB / 0.6579 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1769, allocations: 177.1 kB / 0.6581 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1769, allocations: 29.7 kB / 0.6581 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.643e-05/0.177, allocations: 151.7 kB / 0.6582 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.177, allocations: 15.83 kB / 0.6583 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1771, allocations: 33.7 kB / 0.6583 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1772, allocations: 314.8 kB / 0.6586 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/0.1773, allocations: 28.84 kB / 0.6586 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1774, allocations: 104 kB / 0.6587 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1776, allocations: 117.3 kB / 0.6588 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1776, allocations: 0 / 0.6588 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002077/0.1778, allocations: 141.4 kB / 0.659 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1778, allocations: 4 kB / 0.659 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1778, allocations: 4 kB / 0.659 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1778, allocations: 7.938 kB / 0.659 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.178, allocations: 27.92 kB / 0.659 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.178, allocations: 0 / 0.659 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.1781, allocations: 23.84 kB / 0.659 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1781, allocations: 8.547 kB / 0.659 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001088/0.1782, allocations: 120.1 kB / 0.6591 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.974e-05/0.1783, allocations: 85.44 kB / 0.6592 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001402/0.1784, allocations: 133.2 kB / 0.6594 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.1784, allocations: 0 / 0.6594 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001879/0.1786, allocations: 125.4 kB / 0.6595 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1787, allocations: 15.92 kB / 0.6595 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1787, allocations: 0 / 0.6595 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-06/0.1787, allocations: 8.25 kB / 0.6595 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.1788, allocations: 27.94 kB / 0.6595 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1788, allocations: 4 kB / 0.6595 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.1788, allocations: 19.88 kB / 0.6595 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1789, allocations: 4 kB / 0.6596 GB, free: 9.879 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 (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 prepare postOptimizeDAE: time 0.0001003/0.179, allocations: 192.1 kB / 0.6597 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.179, allocations: 7.953 kB / 0.6597 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.179, allocations: 16.88 kB / 0.6598 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.179, allocations: 4 kB / 0.6598 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1791, allocations: 4 kB / 0.6598 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1791, allocations: 0 / 0.6598 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.1795, allocations: 473 kB / 0.6602 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1795, allocations: 3.984 kB / 0.6602 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.1796, allocations: 8 kB / 0.6602 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1796, allocations: 0 / 0.6602 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1796, allocations: 4.125 kB / 0.6602 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1796, allocations: 4 kB / 0.6602 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1796, allocations: 4 kB / 0.6602 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.1798, allocations: 115.5 kB / 0.6603 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.1798, allocations: 85.06 kB / 0.6604 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.1799, allocations: 8 kB / 0.6604 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.1799, allocations: 4 kB / 0.6604 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.1799, allocations: 3.984 kB / 0.6604 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1799, allocations: 4 kB / 0.6604 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001029/0.18, allocations: 124.2 kB / 0.6606 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.18, allocations: 4 kB / 0.6606 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003454/0.1804, allocations: 55.84 kB / 0.6606 GB, free: 8.656 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0004296/0.1808, allocations: 0.6499 MB / 0.6613 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.181, allocations: 116.1 kB / 0.6614 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1811, allocations: 0 / 0.6614 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.1811, allocations: 15.94 kB / 0.6614 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.1814, allocations: 21.11 kB / 0.6614 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.1832, allocations: 1.727 MB / 0.6631 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1836, allocations: 0.7202 MB / 0.6638 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.501e-05/0.1836, allocations: 40.48 kB / 0.6638 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.1837, allocations: 31.44 kB / 0.6639 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.1837, allocations: 0 / 0.6639 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.207, allocations: 2.409 MB / 0.6662 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.211, allocations: 7.938 kB / 0.6662 GB, free: 2.797 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.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_DC_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)