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.001254/0.001254, allocations: 101.5 kB / 16.26 MB, free: 5.93 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.001101/0.001101, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.282/1.282, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7887/0.7887, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3469, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003953/0.3509, allocations: 2.602 MB / 0.5698 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.3531, allocations: 1.484 MB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3532, allocations: 6.5 kB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007749/0.354, allocations: 222 kB / 0.5715 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.3544, allocations: 193.1 kB / 0.5717 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.3548, allocations: 148.9 kB / 0.5718 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.3551, allocations: 233.9 kB / 0.5721 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.3554, allocations: 173.6 kB / 0.5722 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.3556, allocations: 102.8 kB / 0.5723 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.3558, allocations: 111.7 kB / 0.5724 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3559, allocations: 13.56 kB / 0.5724 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.3562, allocations: 221.4 kB / 0.5726 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.437e-05/0.3563, allocations: 78.11 kB / 0.5727 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.586e-05/0.3564, allocations: 86.08 kB / 0.5728 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.3568, allocations: 327.4 kB / 0.5731 GB, free: 29.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3568, allocations: 1.562 kB / 0.5731 GB, free: 29.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3568, allocations: 0 / 0.5731 GB, free: 29.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.3568, allocations: 1.156 kB / 0.5731 GB, free: 29.17 MB / 446.1 MB 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.00059/0.3574, allocations: 486.5 kB / 0.5736 GB, free: 28.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3575, allocations: 10.84 kB / 0.5736 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.3575, allocations: 55.09 kB / 0.5736 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006012/0.3582, allocations: 76.8 kB / 0.5737 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.3584, allocations: 233.7 kB / 0.5739 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3584, allocations: 13.14 kB / 0.574 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.3584, allocations: 18.92 kB / 0.574 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.3589, allocations: 325.5 kB / 0.5743 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3589, allocations: 1.875 kB / 0.5743 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.3589, allocations: 10.92 kB / 0.5743 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.359, allocations: 19.56 kB / 0.5743 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.3594, allocations: 253.1 kB / 0.5746 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3607, allocations: 1.633 MB / 0.5761 GB, free: 26.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/0.3614, allocations: 411.6 kB / 0.5765 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3616, allocations: 94.3 kB / 0.5766 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.3617, allocations: 86.09 kB / 0.5767 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.3618, allocations: 40.52 kB / 0.5768 GB, free: 26.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3618, allocations: 0 / 0.5768 GB, free: 26.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006507/0.3624, allocations: 308.1 kB / 0.577 GB, free: 26.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.3625, allocations: 80.2 kB / 0.5771 GB, free: 25.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3626, allocations: 169.9 kB / 0.5773 GB, free: 25.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3626, allocations: 29.7 kB / 0.5773 GB, free: 25.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.3627, allocations: 150.1 kB / 0.5775 GB, free: 25.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.3627, allocations: 51.33 kB / 0.5775 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.3628, allocations: 45.91 kB / 0.5775 GB, free: 25.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.3629, allocations: 322.1 kB / 0.5779 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.363, allocations: 87.28 kB / 0.5779 GB, free: 25.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.3632, allocations: 153.3 kB / 0.5781 GB, free: 25.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.3635, allocations: 249 kB / 0.5783 GB, free: 25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3635, allocations: 6.688 kB / 0.5783 GB, free: 25 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004024/0.3639, allocations: 278.2 kB / 0.5786 GB, free: 24.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3639, allocations: 8.062 kB / 0.5786 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3639, allocations: 7.625 kB / 0.5786 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3639, allocations: 4.125 kB / 0.5786 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.3642, allocations: 61.38 kB / 0.5787 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3642, allocations: 4.359 kB / 0.5787 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.3644, allocations: 16.05 kB / 0.5787 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.3644, allocations: 9.781 kB / 0.5787 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000175/0.3646, allocations: 176.4 kB / 0.5789 GB, free: 24.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001679/0.3648, allocations: 147 kB / 0.579 GB, free: 24.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002951/0.3651, allocations: 229.6 kB / 0.5792 GB, free: 24.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.3651, allocations: 2.281 kB / 0.5792 GB, free: 24.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003639/0.3655, allocations: 253.9 kB / 0.5795 GB, free: 24.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.3655, allocations: 8.781 kB / 0.5795 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3655, allocations: 2.156 kB / 0.5795 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.3655, allocations: 9.766 kB / 0.5795 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.3657, allocations: 53.08 kB / 0.5795 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3657, allocations: 5.062 kB / 0.5795 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3659, allocations: 10.31 kB / 0.5796 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3659, allocations: 12.83 kB / 0.5796 GB, free: 24.33 MB / 446.1 MB 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 7.379e-05/0.366, allocations: 199.4 kB / 0.5798 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.366, allocations: 15.16 kB / 0.5798 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.3664, allocations: 210.7 kB / 0.58 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3664, allocations: 1.5 kB / 0.58 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3664, allocations: 1.906 kB / 0.58 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3664, allocations: 0.8438 kB / 0.58 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3676, allocations: 0.9673 MB / 0.5809 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3676, allocations: 2.75 kB / 0.5809 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.3678, allocations: 35.48 kB / 0.581 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3678, allocations: 4.125 kB / 0.581 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3678, allocations: 6.938 kB / 0.581 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3678, allocations: 4.828 kB / 0.581 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3678, allocations: 16 kB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.3681, allocations: 435.6 kB / 0.5814 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.221e-05/0.3682, allocations: 107.4 kB / 0.5815 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.3683, allocations: 12.41 kB / 0.5815 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.3685, allocations: 11.09 kB / 0.5815 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.3686, allocations: 24.58 kB / 0.5816 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3686, allocations: 8.25 kB / 0.5816 GB, free: 22.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.247e-05/0.3687, allocations: 130.9 kB / 0.5817 GB, free: 22.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3687, allocations: 1.375 kB / 0.5817 GB, free: 22.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000554/0.3692, allocations: 71.28 kB / 0.5818 GB, free: 22.72 MB / 446.1 MB 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.000555/0.3698, allocations: 0.9776 MB / 0.5827 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.3703, allocations: 310.5 kB / 0.583 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3703, allocations: 5.281 kB / 0.583 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3704, allocations: 87.27 kB / 0.5831 GB, free: 21.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.371, allocations: 34.34 kB / 0.5831 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.3733, allocations: 2.407 MB / 0.5855 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.3736, allocations: 0.7528 MB / 0.5862 GB, free: 18.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002211/0.3738, allocations: 77.78 kB / 0.5863 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.125e-05/0.3739, allocations: 48.42 kB / 0.5863 GB, free: 18.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3739, allocations: 0 / 0.5863 GB, free: 18.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.393, allocations: 3.566 MB / 0.5898 GB, free: 17.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.397, allocations: 15.03 kB / 0.5898 GB, free: 17.04 MB / 446.1 MB (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)