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.001209/0.00121, allocations: 100.1 kB / 15.88 MB, free: 12 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.001175/0.001175, allocations: 210.1 kB / 16.79 MB, free: 6.84 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.171/1.171, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6122/0.6122, allocations: 115.3 MB / 405.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 71.98 kB / 493 MB, free: 6.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.112, allocations: 76.18 MB / 0.5558 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004688/0.1167, allocations: 4.315 MB / 0.56 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.1193, allocations: 1.539 MB / 0.5616 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005571/0.1198, allocations: 35.81 kB / 0.5616 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.1203, allocations: 126.8 kB / 0.5617 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006403/0.1209, allocations: 182 kB / 0.5619 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.122, allocations: 0.6264 MB / 0.5625 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009039/0.123, allocations: 1.132 MB / 0.5636 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005754/0.1235, allocations: 496.1 kB / 0.5641 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.1239, allocations: 405.8 kB / 0.5645 GB, free: 1.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.1243, allocations: 429.4 kB / 0.5649 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1244, allocations: 48 kB / 0.5649 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.009e-05/0.1245, allocations: 48 kB / 0.565 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1246, allocations: 183 kB / 0.5651 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.1249, allocations: 437.1 kB / 0.5655 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006946/0.1256, allocations: 1.051 MB / 0.5666 GB, free: 15.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1256, allocations: 0 / 0.5666 GB, free: 15.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1256, allocations: 0 / 0.5666 GB, free: 15.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1256, allocations: 0 / 0.5666 GB, free: 15.74 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.002009/0.1276, allocations: 1.399 MB / 0.5679 GB, free: 14.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1277, allocations: 12.03 kB / 0.568 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.1278, allocations: 110.7 kB / 0.5681 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.128, allocations: 123.5 kB / 0.5682 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009551/0.1289, allocations: 0.7314 MB / 0.5689 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.129, allocations: 80.2 kB / 0.569 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/0.1291, allocations: 80.34 kB / 0.569 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.1302, allocations: 0.7289 MB / 0.5698 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1302, allocations: 3.938 kB / 0.5698 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/0.1303, allocations: 39.94 kB / 0.5698 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1303, allocations: 16 kB / 0.5698 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1313, allocations: 0.5204 MB / 0.5703 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.1341, allocations: 2.275 MB / 0.5725 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.1353, allocations: 0.6155 MB / 0.5731 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.1358, allocations: 272 kB / 0.5734 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.1359, allocations: 12.55 kB / 0.5734 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006017/0.1365, allocations: 327 kB / 0.5737 GB, free: 8.184 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 1.783e-06/0.1365, allocations: 0 / 0.5737 GB, free: 8.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.0014/0.1379, allocations: 0.7477 MB / 0.5745 GB, free: 7.434 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.138, allocations: 89.61 kB / 0.5745 GB, free: 7.328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.1387, allocations: 0.7556 MB / 0.5753 GB, free: 6.562 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.1387, allocations: 37.7 kB / 0.5753 GB, free: 6.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.139, allocations: 436.5 kB / 0.5757 GB, free: 6.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.1392, allocations: 201 kB / 0.5759 GB, free: 5.891 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.1393, allocations: 114.2 kB / 0.576 GB, free: 5.773 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.1394, allocations: 333.9 kB / 0.5764 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.1398, allocations: 207.4 kB / 0.5765 GB, free: 5.234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.1403, allocations: 308.4 kB / 0.5768 GB, free: 4.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008566/0.1412, allocations: 0.5036 MB / 0.5773 GB, free: 4.367 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1412, allocations: 0 / 0.5773 GB, free: 4.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001072/0.1422, allocations: 0.6542 MB / 0.578 GB, free: 3.703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1423, allocations: 8 kB / 0.578 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1423, allocations: 0 / 0.578 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1423, allocations: 11.97 kB / 0.578 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.1429, allocations: 147.8 kB / 0.5781 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1429, allocations: 7.938 kB / 0.5781 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.1433, allocations: 71.34 kB / 0.5782 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.1433, allocations: 28.03 kB / 0.5782 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005288/0.1439, allocations: 345.4 kB / 0.5786 GB, free: 3.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004204/0.1443, allocations: 300.4 kB / 0.5789 GB, free: 2.766 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007668/0.1451, allocations: 499.6 kB / 0.5793 GB, free: 2.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.1451, allocations: 0 / 0.5793 GB, free: 2.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009912/0.1461, allocations: 0.6344 MB / 0.5799 GB, free: 1.605 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.1461, allocations: 4 kB / 0.58 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1461, allocations: 7.938 kB / 0.58 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/0.1461, allocations: 4 kB / 0.58 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/0.1466, allocations: 139.8 kB / 0.5801 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1467, allocations: 8.25 kB / 0.5801 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.147, allocations: 63.44 kB / 0.5802 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.1471, allocations: 20 kB / 0.5802 GB, free: 1.363 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.0001301/0.1472, allocations: 212.1 kB / 0.5804 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.1473, allocations: 94.78 kB / 0.5805 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.1475, allocations: 109.2 kB / 0.5806 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1475, allocations: 11.94 kB / 0.5806 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1475, allocations: 3.938 kB / 0.5806 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1475, allocations: 0 / 0.5806 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1881/0.3356, allocations: 1.426 MB / 0.582 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3357, allocations: 5.406 kB / 0.582 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.3362, allocations: 105.8 kB / 0.5821 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.3362, allocations: 3.125 kB / 0.5821 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.3363, allocations: 14.12 kB / 0.5821 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.3363, allocations: 3.188 kB / 0.5821 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3363, allocations: 3.188 kB / 0.5821 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.3379, allocations: 0.9631 MB / 0.5831 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.3382, allocations: 222.2 kB / 0.5833 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.3383, allocations: 14.91 kB / 0.5833 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.3387, allocations: 35.28 kB / 0.5833 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.3388, allocations: 36.14 kB / 0.5834 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.3389, allocations: 18.67 kB / 0.5834 GB, free: 31.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006459/0.3395, allocations: 0.5179 MB / 0.5839 GB, free: 31.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3396, allocations: 0.5 kB / 0.5839 GB, free: 31.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000709/0.3403, allocations: 271.5 kB / 0.5841 GB, free: 31.61 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.001695/0.342, allocations: 1.523 MB / 0.5856 GB, free: 30.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.3435, allocations: 0.7999 MB / 0.5864 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3435, allocations: 0 / 0.5864 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.344, allocations: 271.7 kB / 0.5867 GB, free: 30.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.345, allocations: 243.1 kB / 0.5869 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009225/0.3542, allocations: 7.265 MB / 0.594 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.3547, allocations: 0.9934 MB / 0.595 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004904/0.3552, allocations: 113.5 kB / 0.5951 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.3556, allocations: 355.3 kB / 0.5954 GB, free: 24.96 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3556, allocations: 0 / 0.5954 GB, free: 24.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.384/4.74, allocations: 16.57 MB / 0.6116 GB, free: 19.82 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/4.74, allocations: 195.5 kB / 0.6118 GB, free: 19.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/7.151, allocations: 1.281 kB / 0.6118 GB, free: 19.57 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)