Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",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.0008738/0.0008741, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009338/0.0009339, allocations: 184.4 kB / 16.92 MB, free: 6.934 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.201/1.201, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6414/0.6414, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002746, allocations: 8 kB / 495.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 77.54 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.003967/0.1213, allocations: 3.883 MB / 0.5638 GB, free: 5.031 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.1239, allocations: 1.515 MB / 0.5653 GB, free: 3.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005554/0.1245, allocations: 35.81 kB / 0.5653 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.1249, allocations: 122.8 kB / 0.5655 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006639/0.1255, allocations: 190.8 kB / 0.5656 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.1267, allocations: 0.6128 MB / 0.5662 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.128, allocations: 1.144 MB / 0.5674 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006503/0.1286, allocations: 480.2 kB / 0.5678 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/0.1291, allocations: 357.7 kB / 0.5682 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.1295, allocations: 349.6 kB / 0.5685 GB, free: 236 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1296, allocations: 28 kB / 0.5685 GB, free: 208 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/0.1297, allocations: 27.94 kB / 0.5685 GB, free: 180 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1298, allocations: 143.1 kB / 0.5687 GB, free: 36 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.1301, allocations: 410.8 kB / 0.5691 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.1312, allocations: 1.012 MB / 0.5701 GB, free: 14.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1312, allocations: 0 / 0.5701 GB, free: 14.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1312, allocations: 4 kB / 0.5701 GB, free: 14.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.1313, allocations: 0 / 0.5701 GB, free: 14.61 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002092/0.1334, allocations: 1.239 MB / 0.5713 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1334, allocations: 12.03 kB / 0.5713 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.1336, allocations: 110.7 kB / 0.5714 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.1337, allocations: 123.4 kB / 0.5715 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.1348, allocations: 0.7236 MB / 0.5722 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.419e-05/0.1349, allocations: 92.25 kB / 0.5723 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.542e-05/0.135, allocations: 68.38 kB / 0.5724 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.1363, allocations: 0.7405 MB / 0.5731 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1363, allocations: 4 kB / 0.5731 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.1364, allocations: 24 kB / 0.5731 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.1364, allocations: 19.94 kB / 0.5731 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1375, allocations: 0.5322 MB / 0.5737 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/0.1406, allocations: 2.298 MB / 0.5759 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.142, allocations: 0.6272 MB / 0.5765 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.1425, allocations: 283.9 kB / 0.5768 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.1426, allocations: 12.56 kB / 0.5768 GB, free: 7.484 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006476/0.1433, allocations: 327 kB / 0.5771 GB, free: 7.156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.023e-06/0.1433, allocations: 4 kB / 0.5771 GB, free: 7.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001546/0.1448, allocations: 0.7712 MB / 0.5779 GB, free: 6.379 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.1449, allocations: 89.55 kB / 0.578 GB, free: 6.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008247/0.1457, allocations: 0.7556 MB / 0.5787 GB, free: 5.508 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.1458, allocations: 37.7 kB / 0.5787 GB, free: 5.465 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.1461, allocations: 444.5 kB / 0.5791 GB, free: 5.027 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.1462, allocations: 201 kB / 0.5793 GB, free: 4.828 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.1463, allocations: 65.67 kB / 0.5794 GB, free: 4.758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.1464, allocations: 330 kB / 0.5797 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.1469, allocations: 201.2 kB / 0.5799 GB, free: 4.234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.1474, allocations: 312.5 kB / 0.5802 GB, free: 3.891 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/0.1484, allocations: 0.5192 MB / 0.5807 GB, free: 3.344 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1484, allocations: 0 / 0.5807 GB, free: 3.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001207/0.1496, allocations: 0.6734 MB / 0.5814 GB, free: 2.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.1497, allocations: 161 kB / 0.5815 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1497, allocations: 4 kB / 0.5815 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1497, allocations: 4 kB / 0.5815 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.1503, allocations: 151.7 kB / 0.5817 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1504, allocations: 8 kB / 0.5817 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.1508, allocations: 79.34 kB / 0.5818 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.1508, allocations: 23.98 kB / 0.5818 GB, free: 2.207 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.1508, allocations: 4 kB / 0.5818 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009849/0.1518, allocations: 0.5245 MB / 0.5823 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1518, allocations: 4 kB / 0.5823 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.1519, allocations: 4 kB / 0.5823 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.1524, allocations: 144 kB / 0.5824 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.1525, allocations: 4 kB / 0.5824 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.1528, allocations: 71.41 kB / 0.5825 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.1529, allocations: 20 kB / 0.5825 GB, free: 1.438 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000285/0.1532, allocations: 296.9 kB / 0.5828 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1533, allocations: 90.88 kB / 0.5829 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.1535, allocations: 109.2 kB / 0.583 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.1535, allocations: 11.94 kB / 0.583 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1535, allocations: 0 / 0.583 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.1535, allocations: 3.938 kB / 0.583 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1981/0.3516, allocations: 1.447 MB / 0.5844 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3517, allocations: 0.75 kB / 0.5844 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.3522, allocations: 108.8 kB / 0.5845 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.3523, allocations: 6.938 kB / 0.5845 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.3523, allocations: 14.47 kB / 0.5846 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.3523, allocations: 4.156 kB / 0.5846 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3523, allocations: 0 / 0.5846 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.354, allocations: 0.9817 MB / 0.5855 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.3543, allocations: 225.4 kB / 0.5857 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.3544, allocations: 16.14 kB / 0.5858 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.3548, allocations: 41.16 kB / 0.5858 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.3549, allocations: 36.78 kB / 0.5858 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.3549, allocations: 16.78 kB / 0.5858 GB, free: 29.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000638/0.3556, allocations: 0.516 MB / 0.5864 GB, free: 29.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3556, allocations: 1.859 kB / 0.5864 GB, free: 29.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000714/0.3563, allocations: 276.6 kB / 0.5866 GB, free: 29.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001823/0.3581, allocations: 1.544 MB / 0.5881 GB, free: 29.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.3597, allocations: 0.8102 MB / 0.5889 GB, free: 28.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3597, allocations: 3.906 kB / 0.5889 GB, free: 28.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.3601, allocations: 272 kB / 0.5892 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.3613, allocations: 244.3 kB / 0.5894 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00908/0.3704, allocations: 7.338 MB / 0.5966 GB, free: 24.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.3708, allocations: 0.9909 MB / 0.5975 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.3713, allocations: 118.9 kB / 0.5977 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.3717, allocations: 346.5 kB / 0.598 GB, free: 23.38 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3717, allocations: 0.6562 kB / 0.598 GB, free: 23.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5529/0.9246, allocations: 16.38 MB / 0.614 GB, free: 18.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.9248, allocations: 190.9 kB / 0.6142 GB, free: 18.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.9, allocations: 9.312 kB / 0.6142 GB, free: 18.15 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)