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.0008055/0.0008055, allocations: 96.03 kB / 15.68 MB, free: 488 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.0008174/0.0008173, allocations: 170.7 kB / 16.56 MB, free: 6.391 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.191/1.191, allocations: 223.2 MB / 240.5 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6067/0.6067, allocations: 113.7 MB / 405.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002618, allocations: 13.62 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1201, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.00335/0.1235, allocations: 3.653 MB / 0.5603 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1255, allocations: 1.442 MB / 0.5617 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.1257, allocations: 31.81 kB / 0.5617 GB, free: 6.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.7e-05/0.1258, allocations: 63.23 kB / 0.5618 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005404/0.1264, allocations: 247.1 kB / 0.562 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009175/0.1273, allocations: 0.5212 MB / 0.5625 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000834/0.1281, allocations: 0.7782 MB / 0.5633 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.1286, allocations: 351.4 kB / 0.5636 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.1289, allocations: 366.2 kB / 0.564 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.1292, allocations: 333.9 kB / 0.5643 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.1293, allocations: 24 kB / 0.5643 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.348e-05/0.1294, allocations: 28 kB / 0.5643 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1295, allocations: 139.2 kB / 0.5645 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1296, allocations: 177.1 kB / 0.5646 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.1302, allocations: 0.8107 MB / 0.5654 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1302, allocations: 0 / 0.5654 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1302, allocations: 0 / 0.5654 GB, free: 2.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.1302, allocations: 0 / 0.5654 GB, free: 2.723 MB / 430.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.001798/0.132, allocations: 1.247 MB / 0.5666 GB, free: 1.426 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.132, allocations: 8.031 kB / 0.5667 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.1321, allocations: 114.5 kB / 0.5668 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.1323, allocations: 118.6 kB / 0.5669 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009851/0.1333, allocations: 0.6996 MB / 0.5676 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.1334, allocations: 79.7 kB / 0.5676 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.769e-05/0.1334, allocations: 68 kB / 0.5677 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.1345, allocations: 0.7289 MB / 0.5684 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1345, allocations: 3.984 kB / 0.5684 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.1346, allocations: 32 kB / 0.5684 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.1346, allocations: 16 kB / 0.5685 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009872/0.1356, allocations: 0.5243 MB / 0.569 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.1384, allocations: 2.294 MB / 0.5712 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.1397, allocations: 0.6466 MB / 0.5718 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.1398, allocations: 12.55 kB / 0.5719 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000594/0.1404, allocations: 331.2 kB / 0.5722 GB, free: 11.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 1.894e-06/0.1404, allocations: 3.938 kB / 0.5722 GB, free: 11.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001442/0.1419, allocations: 0.7715 MB / 0.5729 GB, free: 10.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.1419, allocations: 81.67 kB / 0.573 GB, free: 10.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/0.1427, allocations: 0.7439 MB / 0.5737 GB, free: 9.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.1427, allocations: 41.7 kB / 0.5738 GB, free: 9.902 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.143, allocations: 436.5 kB / 0.5742 GB, free: 9.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.1432, allocations: 201 kB / 0.5744 GB, free: 9.273 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.1432, allocations: 8 kB / 0.5744 GB, free: 9.266 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1433, allocations: 338 kB / 0.5747 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.1437, allocations: 201.2 kB / 0.5749 GB, free: 8.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.1442, allocations: 308.4 kB / 0.5752 GB, free: 8.398 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.1446, allocations: 238.2 kB / 0.5754 GB, free: 8.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1447, allocations: 0 / 0.5754 GB, free: 8.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001074/0.1457, allocations: 0.6618 MB / 0.5761 GB, free: 7.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002728/0.146, allocations: 0.8792 MB / 0.5769 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.146, allocations: 4 kB / 0.5769 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1461, allocations: 7.984 kB / 0.5769 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.1467, allocations: 143.8 kB / 0.5771 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1467, allocations: 11.95 kB / 0.5771 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.1471, allocations: 79.34 kB / 0.5772 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.1471, allocations: 23.94 kB / 0.5772 GB, free: 6.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-06/0.1472, allocations: 0 / 0.5772 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008818/0.148, allocations: 0.5285 MB / 0.5777 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1481, allocations: 4 kB / 0.5777 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.351e-06/0.1481, allocations: 4 kB / 0.5777 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.1486, allocations: 139.8 kB / 0.5778 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1486, allocations: 8 kB / 0.5779 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.149, allocations: 71.55 kB / 0.5779 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.149, allocations: 23.98 kB / 0.5779 GB, free: 5.508 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,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002796/0.1493, allocations: 296.9 kB / 0.5782 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/0.1494, allocations: 98.88 kB / 0.5783 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.1496, allocations: 101.2 kB / 0.5784 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1496, allocations: 4 kB / 0.5784 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1496, allocations: 4 kB / 0.5784 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1496, allocations: 7.922 kB / 0.5784 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.1515, allocations: 1.454 MB / 0.5799 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1515, allocations: 96 / 0.5799 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.152, allocations: 107.8 kB / 0.58 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.152, allocations: 3.984 kB / 0.58 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.1521, allocations: 15.98 kB / 0.58 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1521, allocations: 8 kB / 0.58 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1521, allocations: 0 / 0.58 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.1535, allocations: 0.9708 MB / 0.5809 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.1538, allocations: 223.7 kB / 0.5811 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.1539, allocations: 12 kB / 0.5812 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.1543, allocations: 43.97 kB / 0.5812 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.1543, allocations: 36.5 kB / 0.5812 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.1544, allocations: 16 kB / 0.5812 GB, free: 2.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005088/0.1549, allocations: 0.5107 MB / 0.5817 GB, free: 1.512 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1549, allocations: 0 / 0.5817 GB, free: 1.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006101/0.1555, allocations: 275 kB / 0.582 GB, free: 1.242 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2238/0.3793, allocations: 1.538 MB / 0.5835 GB, free: 32.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.381, allocations: 0.8004 MB / 0.5843 GB, free: 32.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.381, allocations: 4.625 kB / 0.5843 GB, free: 32.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.3815, allocations: 273.3 kB / 0.5846 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.3826, allocations: 226.8 kB / 0.5848 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.386, allocations: 3.621 MB / 0.5883 GB, free: 29.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/0.3866, allocations: 1.015 MB / 0.5893 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004755/0.3871, allocations: 117.9 kB / 0.5894 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/0.3875, allocations: 349.2 kB / 0.5897 GB, free: 28.8 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3875, allocations: 0 / 0.5897 GB, free: 28.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1439/0.5314, allocations: 15.96 MB / 0.6053 GB, free: 24.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.5316, allocations: 183.7 kB / 0.6055 GB, free: 24.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.434, allocations: 0 / 0.6055 GB, free: 24.42 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/linux/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) Environment - environmentSimulation: