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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 121.3 kB / 17.81 MB, free: 5.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 193.4 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 249.1 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8174/0.8174, allocations: 128.4 MB / 432.4 MB, free: 13.28 MB / 350.1 MB " [Timeout remaining time 179] 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: translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.73 kB / 0.5987 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.389, allocations: 83.26 MB / 0.68 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004025/0.393, allocations: 3.717 MB / 0.6836 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3951, allocations: 1.338 MB / 0.6849 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/0.3954, allocations: 25.28 kB / 0.685 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.3957, allocations: 125.7 kB / 0.6851 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.3961, allocations: 182.6 kB / 0.6853 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009076/0.397, allocations: 0.5772 MB / 0.6858 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008273/0.3979, allocations: 0.9631 MB / 0.6868 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003672/0.3982, allocations: 247.6 kB / 0.687 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.3986, allocations: 378.7 kB / 0.6874 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.3989, allocations: 352.8 kB / 0.6877 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.399, allocations: 77.41 kB / 0.6878 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.3991, allocations: 79.31 kB / 0.6878 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3993, allocations: 181.9 kB / 0.688 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.3995, allocations: 378.9 kB / 0.6884 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007492/0.4003, allocations: 0.8927 MB / 0.6892 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4003, allocations: 0 / 0.6892 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4003, allocations: 0 / 0.6892 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.4003, allocations: 0 / 0.6892 GB, free: 15.84 MB / 0.5137 GB 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.002179/0.4025, allocations: 1.211 MB / 0.6904 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4025, allocations: 9.219 kB / 0.6904 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.4027, allocations: 97.92 kB / 0.6905 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.4038, allocations: 0.6351 MB / 0.6912 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.4039, allocations: 97.42 kB / 0.6912 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.404, allocations: 52.47 kB / 0.6913 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.4052, allocations: 0.5992 MB / 0.6919 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4053, allocations: 1.031 kB / 0.6919 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.4053, allocations: 22.62 kB / 0.6919 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.4053, allocations: 11.75 kB / 0.6919 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.4063, allocations: 427.7 kB / 0.6923 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.4093, allocations: 2.105 MB / 0.6944 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.4106, allocations: 484.4 kB / 0.6948 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.411, allocations: 201.2 kB / 0.695 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.4111, allocations: 16.66 kB / 0.695 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006502/0.4117, allocations: 281.4 kB / 0.6953 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 1.893e-06/0.4117, allocations: 1.094 kB / 0.6953 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001558/0.4133, allocations: 0.6156 MB / 0.6959 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.4134, allocations: 87.39 kB / 0.696 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.4141, allocations: 0.6106 MB / 0.6966 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.4141, allocations: 36.14 kB / 0.6966 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.4144, allocations: 362.4 kB / 0.697 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.4146, allocations: 160.7 kB / 0.6971 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.4148, allocations: 100.9 kB / 0.6972 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4149, allocations: 326.5 kB / 0.6975 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.4154, allocations: 181 kB / 0.6977 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.4159, allocations: 283.7 kB / 0.698 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009377/0.4168, allocations: 474.9 kB / 0.6984 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4168, allocations: 5.281 kB / 0.6984 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001193/0.418, allocations: 0.5964 MB / 0.699 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.4181, allocations: 33.2 kB / 0.6991 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4181, allocations: 6.719 kB / 0.6991 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4181, allocations: 4.281 kB / 0.6991 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.4186, allocations: 112.3 kB / 0.6992 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.4186, allocations: 9.609 kB / 0.6992 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.419, allocations: 62.42 kB / 0.6992 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.419, allocations: 30.42 kB / 0.6993 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005481/0.4196, allocations: 302.9 kB / 0.6996 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004672/0.4201, allocations: 265.3 kB / 0.6998 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008289/0.4209, allocations: 454.1 kB / 0.7002 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/0.4209, allocations: 5.359 kB / 0.7003 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001087/0.422, allocations: 0.5834 MB / 0.7008 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.422, allocations: 48.44 kB / 0.7009 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.422, allocations: 2.75 kB / 0.7009 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.422, allocations: 5.375 kB / 0.7009 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.4225, allocations: 101.9 kB / 0.701 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4225, allocations: 5.125 kB / 0.701 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.4228, allocations: 60.64 kB / 0.701 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.4229, allocations: 18.59 kB / 0.7011 GB, free: 7.414 MB / 0.5137 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.0002054/0.4231, allocations: 209.4 kB / 0.7013 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.4232, allocations: 72.97 kB / 0.7013 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.4233, allocations: 82.23 kB / 0.7014 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4233, allocations: 5.469 kB / 0.7014 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.4233, allocations: 0 / 0.7014 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4234, allocations: 4 kB / 0.7014 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.4241, allocations: 0.6305 MB / 0.702 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4241, allocations: 0 / 0.702 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.4245, allocations: 82.2 kB / 0.7021 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4245, allocations: 1.062 kB / 0.7021 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.4246, allocations: 11.3 kB / 0.7021 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4246, allocations: 2.219 kB / 0.7021 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4246, allocations: 0 / 0.7021 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.4261, allocations: 0.7353 MB / 0.7028 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.4263, allocations: 196.9 kB / 0.703 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.359e-05/0.4264, allocations: 14.75 kB / 0.703 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.4268, allocations: 34.27 kB / 0.7031 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.4269, allocations: 29.64 kB / 0.7031 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.4269, allocations: 19.3 kB / 0.7031 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000511/0.4275, allocations: 432.5 kB / 0.7035 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4275, allocations: 1.594 kB / 0.7035 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006226/0.4281, allocations: 213.9 kB / 0.7037 GB, free: 5.605 MB / 0.5137 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.0001471/0.4282, allocations: 117.4 kB / 0.7038 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.4298, allocations: 0.7469 MB / 0.7046 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4298, allocations: 0 / 0.7046 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004671/0.4302, allocations: 199.9 kB / 0.7048 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/0.4311, allocations: 207.4 kB / 0.705 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.4332, allocations: 1.239 MB / 0.7062 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.4337, allocations: 0.918 MB / 0.7071 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.4339, allocations: 51.42 kB / 0.7071 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of SimCode: time 7.52e-07/0.4339, allocations: 0 / 0.7071 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of Templates: time 0.01233/0.4463, allocations: 8.717 MB / 0.7156 GB, free: 10.07 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.283667078008875] Failed to read output from testmodel.py, exit status != 0: 0.45423892117105424 0.46594085700000004 0.06288837800000001 Calling exit ...