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.001445/0.001445, allocations: 100.3 kB / 16.27 MB, free: 5.992 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.001615/0.001616, allocations: 190.6 kB / 17.2 MB, free: 5.605 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7353/0.7353, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3312, allocations: 77.92 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004032/0.3353, allocations: 2.483 MB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3366, allocations: 0.7779 MB / 0.5705 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.87e-05/0.3367, allocations: 4.25 kB / 0.5705 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.3378, allocations: 0.5295 MB / 0.571 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.3381, allocations: 107.5 kB / 0.5711 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.3384, allocations: 113.5 kB / 0.5712 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.3386, allocations: 193.7 kB / 0.5714 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.339, allocations: 167.4 kB / 0.5715 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.831e-05/0.3391, allocations: 76.61 kB / 0.5716 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.3393, allocations: 90.11 kB / 0.5717 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.3394, allocations: 12.44 kB / 0.5717 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.3396, allocations: 118.6 kB / 0.5718 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.3397, allocations: 60.34 kB / 0.5719 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.3398, allocations: 70.81 kB / 0.5719 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.3401, allocations: 215.5 kB / 0.5722 GB, free: 29.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3402, allocations: 1.594 kB / 0.5722 GB, free: 29.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3402, allocations: 1.5 kB / 0.5722 GB, free: 29.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.3402, allocations: 0 / 0.5722 GB, free: 29.62 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006408/0.3408, allocations: 440.2 kB / 0.5726 GB, free: 29.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3409, allocations: 9.844 kB / 0.5726 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.341, allocations: 57.72 kB / 0.5726 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004208/0.3414, allocations: 58.25 kB / 0.5727 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3416, allocations: 209.4 kB / 0.5729 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3416, allocations: 11.53 kB / 0.5729 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.3417, allocations: 13.25 kB / 0.5729 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.3421, allocations: 233.7 kB / 0.5731 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3421, allocations: 0 / 0.5731 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.3421, allocations: 2.875 kB / 0.5731 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.3422, allocations: 22.33 kB / 0.5732 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.3424, allocations: 145.2 kB / 0.5733 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3435, allocations: 1.135 MB / 0.5744 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.527e-05/0.3436, allocations: 42.94 kB / 0.5745 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.3437, allocations: 17.33 kB / 0.5745 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.3437, allocations: 6.141 kB / 0.5745 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.3437, allocations: 31.16 kB / 0.5745 GB, free: 27.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3437, allocations: 1.344 kB / 0.5745 GB, free: 27.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002177/0.3439, allocations: 82.06 kB / 0.5746 GB, free: 27.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.344, allocations: 53.31 kB / 0.5746 GB, free: 27.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.3441, allocations: 171.2 kB / 0.5748 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.3442, allocations: 30.2 kB / 0.5748 GB, free: 27.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.3443, allocations: 138.5 kB / 0.575 GB, free: 27.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.3443, allocations: 23.88 kB / 0.575 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.3443, allocations: 30.22 kB / 0.575 GB, free: 27.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.3444, allocations: 319.8 kB / 0.5753 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.3445, allocations: 28.72 kB / 0.5753 GB, free: 26.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.3446, allocations: 87.23 kB / 0.5754 GB, free: 26.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3447, allocations: 126.3 kB / 0.5755 GB, free: 26.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.3447, allocations: 2.25 kB / 0.5756 GB, free: 26.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000182/0.3449, allocations: 133.6 kB / 0.5757 GB, free: 26.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3449, allocations: 7.953 kB / 0.5757 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3449, allocations: 2.812 kB / 0.5757 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3449, allocations: 7.094 kB / 0.5757 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.345, allocations: 24.05 kB / 0.5757 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.3451, allocations: 12.95 kB / 0.5757 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.3451, allocations: 17.53 kB / 0.5757 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3452, allocations: 12.25 kB / 0.5758 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.7e-05/0.3452, allocations: 120 kB / 0.5759 GB, free: 26.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.463e-05/0.3453, allocations: 88.81 kB / 0.576 GB, free: 26.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.425e-05/0.3454, allocations: 120.9 kB / 0.5761 GB, free: 26.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.3454, allocations: 2.875 kB / 0.5761 GB, free: 26.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001697/0.3456, allocations: 134 kB / 0.5762 GB, free: 26.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.3456, allocations: 7.375 kB / 0.5762 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.3456, allocations: 2.469 kB / 0.5762 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.3456, allocations: 3.656 kB / 0.5762 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.3457, allocations: 33.94 kB / 0.5763 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3457, allocations: 4.094 kB / 0.5763 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.3458, allocations: 7.75 kB / 0.5763 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3458, allocations: 5.906 kB / 0.5763 GB, free: 26.09 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 (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 5.72e-05/0.3458, allocations: 193.1 kB / 0.5765 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.3459, allocations: 12.91 kB / 0.5765 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.3459, allocations: 17.91 kB / 0.5765 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3459, allocations: 2.312 kB / 0.5765 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3459, allocations: 0.6562 kB / 0.5765 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3459, allocations: 0 / 0.5765 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.3463, allocations: 470.8 kB / 0.5769 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3463, allocations: 2.078 kB / 0.5769 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.3463, allocations: 14.52 kB / 0.5769 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3463, allocations: 1.031 kB / 0.5769 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3464, allocations: 1.25 kB / 0.577 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3464, allocations: 2.781 kB / 0.577 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3464, allocations: 3.375 kB / 0.577 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.3465, allocations: 116.1 kB / 0.5771 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.3466, allocations: 95.45 kB / 0.5772 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.3466, allocations: 6.922 kB / 0.5772 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.378e-05/0.3466, allocations: 4 kB / 0.5772 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.3467, allocations: 5.328 kB / 0.5772 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.3467, allocations: 8.125 kB / 0.5772 GB, free: 25.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.3468, allocations: 124.2 kB / 0.5773 GB, free: 25.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3468, allocations: 0 / 0.5773 GB, free: 25.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.3471, allocations: 52.38 kB / 0.5773 GB, free: 25.11 MB / 446.1 MB 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.000306/0.3474, allocations: 0.6476 MB / 0.578 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3477, allocations: 111.9 kB / 0.5781 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3477, allocations: 2.438 kB / 0.5781 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/0.3477, allocations: 16.62 kB / 0.5781 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.348, allocations: 27.02 kB / 0.5781 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.3495, allocations: 1.736 MB / 0.5798 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.3497, allocations: 0.7224 MB / 0.5805 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.901e-05/0.3498, allocations: 31.7 kB / 0.5806 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.3498, allocations: 39.86 kB / 0.5806 GB, free: 22.19 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3498, allocations: 0 / 0.5806 GB, free: 22.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.3685, allocations: 2.341 MB / 0.5829 GB, free: 21.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.397, allocations: 7.859 kB / 0.5829 GB, free: 21.65 MB / 446.1 MB (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)