Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",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.001208/0.001208, allocations: 102.5 kB / 16.4 MB, free: 6.453 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.001185/0.001185, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7433/0.7433, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 64.97 kB / 0.5572 GB, free: 32.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1561, allocations: 76.19 MB / 0.6316 GB, free: 5.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.005236/0.1613, allocations: 3.698 MB / 0.6352 GB, free: 1.324 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.1642, allocations: 1.325 MB / 0.6365 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007554/0.165, allocations: 27.88 kB / 0.6365 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.1655, allocations: 130.6 kB / 0.6366 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009331/0.1665, allocations: 170.5 kB / 0.6368 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.168, allocations: 0.571 MB / 0.6373 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.1695, allocations: 0.9604 MB / 0.6383 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005519/0.17, allocations: 349.6 kB / 0.6386 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.1705, allocations: 378.3 kB / 0.639 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.1709, allocations: 354.1 kB / 0.6393 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.171, allocations: 79.98 kB / 0.6394 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.1711, allocations: 80 kB / 0.6395 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.1713, allocations: 175.3 kB / 0.6396 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.1716, allocations: 381.7 kB / 0.64 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008658/0.1724, allocations: 0.887 MB / 0.6409 GB, free: 11.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.1725, allocations: 3.984 kB / 0.6409 GB, free: 11.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1725, allocations: 0 / 0.6409 GB, free: 11.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1725, allocations: 0 / 0.6409 GB, free: 11.48 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00209/0.1746, allocations: 1.187 MB / 0.642 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1746, allocations: 8.031 kB / 0.642 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.1748, allocations: 94.7 kB / 0.6421 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.1749, allocations: 99.8 kB / 0.6422 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.176, allocations: 0.6143 MB / 0.6428 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.1761, allocations: 101 kB / 0.6429 GB, free: 9.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.1762, allocations: 56.38 kB / 0.643 GB, free: 9.199 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.1772, allocations: 0.6078 MB / 0.6436 GB, free: 8.547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.1773, allocations: 0 / 0.6436 GB, free: 8.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.1773, allocations: 27.94 kB / 0.6436 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.1774, allocations: 12 kB / 0.6436 GB, free: 8.508 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009547/0.1783, allocations: 423.7 kB / 0.644 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.181, allocations: 2.098 MB / 0.646 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.1823, allocations: 0.4995 MB / 0.6465 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.1827, allocations: 216.8 kB / 0.6467 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.1828, allocations: 9.094 kB / 0.6467 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000648/0.1834, allocations: 277.9 kB / 0.647 GB, free: 4.895 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 2.444e-06/0.1834, allocations: 4 kB / 0.647 GB, free: 4.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.001469/0.1849, allocations: 0.6112 MB / 0.6476 GB, free: 4.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.185, allocations: 88.84 kB / 0.6477 GB, free: 4.168 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.1856, allocations: 0.6138 MB / 0.6483 GB, free: 3.547 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.1857, allocations: 33.7 kB / 0.6483 GB, free: 3.508 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.186, allocations: 360.9 kB / 0.6487 GB, free: 3.148 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.1861, allocations: 153.8 kB / 0.6488 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.1862, allocations: 102.1 kB / 0.6489 GB, free: 2.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1864, allocations: 325.9 kB / 0.6492 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/0.1868, allocations: 179 kB / 0.6494 GB, free: 2.387 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.1873, allocations: 280.2 kB / 0.6497 GB, free: 2.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/0.1883, allocations: 481.8 kB / 0.6501 GB, free: 1.566 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1883, allocations: 0 / 0.6501 GB, free: 1.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001192/0.1895, allocations: 0.5982 MB / 0.6507 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.1895, allocations: 39.2 kB / 0.6507 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1895, allocations: 4 kB / 0.6508 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1896, allocations: 4.312 kB / 0.6508 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.1901, allocations: 107.9 kB / 0.6509 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1901, allocations: 7.938 kB / 0.6509 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.1905, allocations: 63.5 kB / 0.6509 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.1905, allocations: 16 kB / 0.6509 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005499/0.1911, allocations: 313.2 kB / 0.6512 GB, free: 412 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004425/0.1915, allocations: 260.3 kB / 0.6515 GB, free: 116 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008315/0.1924, allocations: 454 kB / 0.6519 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/0.1924, allocations: 0 / 0.6519 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001096/0.1935, allocations: 0.5864 MB / 0.6525 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.1935, allocations: 29.7 kB / 0.6525 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1935, allocations: 4 kB / 0.6525 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.1935, allocations: 4 kB / 0.6525 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.194, allocations: 111.8 kB / 0.6526 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.194, allocations: 4 kB / 0.6526 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.1944, allocations: 51.86 kB / 0.6527 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.1944, allocations: 23.98 kB / 0.6527 GB, free: 14.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001717/0.1946, allocations: 218.1 kB / 0.6529 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.1947, allocations: 71.16 kB / 0.653 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.1948, allocations: 79.22 kB / 0.6531 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.1949, allocations: 4 kB / 0.6531 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.1949, allocations: 3.984 kB / 0.6531 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1949, allocations: 7.938 kB / 0.6531 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006546/0.1955, allocations: 0.618 MB / 0.6537 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1956, allocations: 7.984 kB / 0.6537 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.196, allocations: 83.89 kB / 0.6538 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.196, allocations: 0 / 0.6538 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.1961, allocations: 12 kB / 0.6538 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1961, allocations: 0 / 0.6538 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1961, allocations: 3.938 kB / 0.6538 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.1976, allocations: 0.7314 MB / 0.6545 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.1979, allocations: 188 kB / 0.6547 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.1979, allocations: 19.98 kB / 0.6547 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.1984, allocations: 31.97 kB / 0.6547 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/0.1985, allocations: 31.95 kB / 0.6548 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.1985, allocations: 15.98 kB / 0.6548 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004775/0.199, allocations: 431 kB / 0.6552 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.199, allocations: 0 / 0.6552 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005852/0.1996, allocations: 219.3 kB / 0.6554 GB, free: 11.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001808/0.2014, allocations: 1.28 MB / 0.6566 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.2029, allocations: 0.7849 MB / 0.6574 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.203, allocations: 0 / 0.6574 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000461/0.2034, allocations: 216.3 kB / 0.6576 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/0.2043, allocations: 209.5 kB / 0.6578 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.2118, allocations: 5.352 MB / 0.663 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.2122, allocations: 0.9102 MB / 0.6639 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003757/0.2126, allocations: 97.11 kB / 0.664 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.2129, allocations: 255.4 kB / 0.6643 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.213, allocations: 4 kB / 0.6643 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03774/0.2507, allocations: 14.3 MB / 0.6782 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.982/9.233, allocations: 13.12 kB / 0.6782 GB, free: 4.48 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)