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.001229/0.001229, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001234/0.001234, allocations: 194.9 kB / 16.91 MB, free: 6.195 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.234/1.234, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6776/0.6776, allocations: 115.3 MB / 406.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2783, allocations: 76.18 MB / 0.556 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.003838/0.2822, allocations: 3.714 MB / 0.5596 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.284, allocations: 1.289 MB / 0.5609 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.2843, allocations: 29.47 kB / 0.5609 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.2846, allocations: 88.25 kB / 0.561 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004404/0.2851, allocations: 147.3 kB / 0.5611 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000956/0.2861, allocations: 0.5294 MB / 0.5617 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008645/0.2869, allocations: 0.9636 MB / 0.5626 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004959/0.2874, allocations: 353.5 kB / 0.5629 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004135/0.2879, allocations: 372.5 kB / 0.5633 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.2882, allocations: 347.9 kB / 0.5636 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.2883, allocations: 79.56 kB / 0.5637 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.2884, allocations: 77.88 kB / 0.5638 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.2885, allocations: 178.6 kB / 0.5639 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.2888, allocations: 384.3 kB / 0.5643 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006842/0.2895, allocations: 0.8522 MB / 0.5651 GB, free: 30.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2895, allocations: 2.172 kB / 0.5651 GB, free: 30.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2895, allocations: 0 / 0.5651 GB, free: 30.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.2895, allocations: 0.5625 kB / 0.5651 GB, free: 30.38 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001691/0.2912, allocations: 1.181 MB / 0.5663 GB, free: 29.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2912, allocations: 9.469 kB / 0.5663 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.724e-05/0.2913, allocations: 92.55 kB / 0.5664 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.2915, allocations: 95.09 kB / 0.5665 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.2922, allocations: 0.5981 MB / 0.5671 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.2923, allocations: 96.83 kB / 0.5672 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/0.2924, allocations: 54.88 kB / 0.5672 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009606/0.2934, allocations: 0.6007 MB / 0.5678 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.2934, allocations: 5.094 kB / 0.5678 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.2934, allocations: 22.14 kB / 0.5678 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.2935, allocations: 13.19 kB / 0.5678 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008477/0.2943, allocations: 425 kB / 0.5682 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.2966, allocations: 2.114 MB / 0.5703 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.2976, allocations: 0.5014 MB / 0.5708 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.298, allocations: 216 kB / 0.571 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/0.2981, allocations: 6.719 kB / 0.571 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006054/0.2987, allocations: 278.5 kB / 0.5713 GB, free: 26.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 1.763e-06/0.2987, allocations: 2.25 kB / 0.5713 GB, free: 26.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001269/0.3, allocations: 0.6115 MB / 0.5719 GB, free: 26.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.3, allocations: 93.84 kB / 0.572 GB, free: 26.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.3006, allocations: 0.608 MB / 0.5726 GB, free: 26.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.3007, allocations: 38.31 kB / 0.5726 GB, free: 25.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.3009, allocations: 360.6 kB / 0.5729 GB, free: 25.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/0.301, allocations: 156.7 kB / 0.5731 GB, free: 25.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.3011, allocations: 94.31 kB / 0.5732 GB, free: 25.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.3012, allocations: 325.2 kB / 0.5735 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.3016, allocations: 179.9 kB / 0.5737 GB, free: 25.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.302, allocations: 284.7 kB / 0.5739 GB, free: 24.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007393/0.3027, allocations: 484.4 kB / 0.5744 GB, free: 24.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3028, allocations: 2.469 kB / 0.5744 GB, free: 24.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001017/0.3038, allocations: 0.5942 MB / 0.575 GB, free: 24.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3038, allocations: 37.56 kB / 0.575 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3038, allocations: 3.344 kB / 0.575 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3038, allocations: 7.156 kB / 0.575 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.3043, allocations: 105.2 kB / 0.5751 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.3043, allocations: 10.78 kB / 0.5751 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.3047, allocations: 69.95 kB / 0.5752 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.3047, allocations: 19.78 kB / 0.5752 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004605/0.3052, allocations: 309.6 kB / 0.5755 GB, free: 24.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003722/0.3055, allocations: 261.8 kB / 0.5758 GB, free: 24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006757/0.3062, allocations: 455.8 kB / 0.5762 GB, free: 23.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.3062, allocations: 8.906 kB / 0.5762 GB, free: 23.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009226/0.3072, allocations: 0.5755 MB / 0.5768 GB, free: 23.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3072, allocations: 33.64 kB / 0.5768 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3072, allocations: 6.312 kB / 0.5768 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.3072, allocations: 5.453 kB / 0.5768 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.3076, allocations: 103.7 kB / 0.5769 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3076, allocations: 9.281 kB / 0.5769 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.308, allocations: 47.83 kB / 0.577 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.308, allocations: 20.02 kB / 0.577 GB, free: 23.36 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: 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.0001049/0.3081, allocations: 213 kB / 0.5772 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.3082, allocations: 81.56 kB / 0.5773 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.3083, allocations: 80.34 kB / 0.5773 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3083, allocations: 4.312 kB / 0.5774 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3084, allocations: 0.7969 kB / 0.5774 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3084, allocations: 3.109 kB / 0.5774 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.3089, allocations: 0.62 MB / 0.578 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3089, allocations: 3.984 kB / 0.578 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.3094, allocations: 83.48 kB / 0.578 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.3094, allocations: 6.094 kB / 0.578 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.3094, allocations: 12.05 kB / 0.5781 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3094, allocations: 10.28 kB / 0.5781 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3094, allocations: 0 / 0.5781 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.3108, allocations: 0.7268 MB / 0.5788 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.3109, allocations: 188.3 kB / 0.579 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.311, allocations: 11.23 kB / 0.579 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.3114, allocations: 32.78 kB / 0.579 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.3115, allocations: 33.58 kB / 0.579 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.3115, allocations: 20.64 kB / 0.5791 GB, free: 22.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000401/0.312, allocations: 428.2 kB / 0.5795 GB, free: 21.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.312, allocations: 1.406 kB / 0.5795 GB, free: 21.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005241/0.3125, allocations: 218.8 kB / 0.5797 GB, free: 21.88 MB / 446.1 MB 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.001445/0.3139, allocations: 1.283 MB / 0.5809 GB, free: 21.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.3155, allocations: 0.8048 MB / 0.5817 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3155, allocations: 128 / 0.5817 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.3159, allocations: 216.5 kB / 0.5819 GB, free: 20.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.3167, allocations: 198.9 kB / 0.5821 GB, free: 20.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006944/0.3237, allocations: 5.862 MB / 0.5878 GB, free: 17.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.324, allocations: 0.9135 MB / 0.5887 GB, free: 16.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003988/0.3244, allocations: 100.6 kB / 0.5888 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.3247, allocations: 263.7 kB / 0.5891 GB, free: 16.14 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3247, allocations: 0 / 0.5891 GB, free: 16.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6028/0.9275, allocations: 13.71 MB / 0.6025 GB, free: 4.488 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/0.9277, allocations: 189.6 kB / 0.6026 GB, free: 4.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.872, allocations: 0 / 0.6026 GB, free: 4.23 MB / 446.1 MB (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)