Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008396/0.0008396, allocations: 84.44 kB / 20.69 MB, free: 3.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 165.9 kB / 23.96 MB, free: 0.5898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8829/0.8829, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5474/0.5474, allocations: 114 MB / 374.7 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5555 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.337e-05, allocations: 2.281 kB / 0.5555 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003004/0.003028, allocations: 2.811 MB / 0.5582 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.004846, allocations: 1.75 MB / 0.5599 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.0051, allocations: 19.94 kB / 0.56 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.005382, allocations: 174.1 kB / 0.5601 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.005713, allocations: 146.7 kB / 0.5603 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.006059, allocations: 355.4 kB / 0.5606 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006223/0.006681, allocations: 1.096 MB / 0.5617 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.007152, allocations: 430.8 kB / 0.5621 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.007546, allocations: 0.6041 MB / 0.5627 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.007785, allocations: 326.7 kB / 0.563 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.007888, allocations: 120 kB / 0.5631 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/0.00796, allocations: 120 kB / 0.5632 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.008082, allocations: 255.1 kB / 0.5635 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.008252, allocations: 315 kB / 0.5638 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.009309, allocations: 1.362 MB / 0.5651 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.009312, allocations: 0 / 0.5651 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.132e-06/0.009313, allocations: 4 kB / 0.5651 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.009322, allocations: 0 / 0.5651 GB, free: 8.316 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001686/0.01101, allocations: 1.884 MB / 0.5669 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.01105, allocations: 12.62 kB / 0.567 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.01116, allocations: 124.2 kB / 0.5671 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.0117, allocations: 0.4991 MB / 0.5676 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.01174, allocations: 70.38 kB / 0.5676 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.01183, allocations: 100.4 kB / 0.5677 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009257/0.01275, allocations: 0.9715 MB / 0.5687 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.01277, allocations: 8.125 kB / 0.5687 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.01282, allocations: 44.36 kB / 0.5687 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.01283, allocations: 20.38 kB / 0.5687 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.01357, allocations: 0.6206 MB / 0.5693 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00273/0.0163, allocations: 2.362 MB / 0.5717 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000806/0.01711, allocations: 0.6663 MB / 0.5723 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.01748, allocations: 362.6 kB / 0.5726 GB, free: 396 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.01751, allocations: 8.656 kB / 0.5727 GB, free: 388 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003881/0.0179, allocations: 364.3 kB / 0.573 GB, free: 12 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=74): time 4.459e-06/0.01791, allocations: 0 / 0.573 GB, free: 12 kB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.0009825/0.01889, allocations: 0.8137 MB / 0.5738 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.01896, allocations: 166.9 kB / 0.574 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.01931, allocations: 490.1 kB / 0.5744 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.01934, allocations: 41.7 kB / 0.5745 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.01953, allocations: 412.9 kB / 0.5749 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.01964, allocations: 265.7 kB / 0.5751 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.01976, allocations: 130.7 kB / 0.5752 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.01987, allocations: 378.7 kB / 0.5756 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.02018, allocations: 248.7 kB / 0.5758 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.0206, allocations: 0.5573 MB / 0.5764 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.0212, allocations: 0.537 MB / 0.5769 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.02121, allocations: 0 / 0.5769 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0007564/0.02196, allocations: 0.6963 MB / 0.5776 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.02198, allocations: 8 kB / 0.5776 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.02199, allocations: 0 / 0.5776 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.022, allocations: 4 kB / 0.5776 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.02231, allocations: 155.8 kB / 0.5777 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.02232, allocations: 4 kB / 0.5777 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.02252, allocations: 103.6 kB / 0.5778 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.02255, allocations: 20 kB / 0.5779 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008201/0.02337, allocations: 350.1 kB / 0.5782 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003464/0.02371, allocations: 0.5106 MB / 0.5787 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004626/0.02418, allocations: 470 kB / 0.5791 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/0.02418, allocations: 3.938 kB / 0.5791 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0006025/0.02478, allocations: 0.6026 MB / 0.5797 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.02479, allocations: 7.984 kB / 0.5797 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.02479, allocations: 0 / 0.5797 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.78e-06/0.0248, allocations: 4 kB / 0.5797 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.02507, allocations: 135.8 kB / 0.5799 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.02507, allocations: 4 kB / 0.5799 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.02524, allocations: 87.61 kB / 0.58 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.02526, allocations: 20 kB / 0.58 GB, free: 8.574 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0001209/0.02538, allocations: 224.1 kB / 0.5802 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.02544, allocations: 67.56 kB / 0.5803 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/0.02616, allocations: 0.6371 MB / 0.5809 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.02616, allocations: 11.94 kB / 0.5809 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.02617, allocations: 0 / 0.5809 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.02617, allocations: 3.984 kB / 0.5809 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.02761, allocations: 1.442 MB / 0.5823 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.02762, allocations: 0 / 0.5823 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.02792, allocations: 139.7 kB / 0.5824 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.02793, allocations: 4.188 kB / 0.5824 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.02796, allocations: 27.98 kB / 0.5825 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.02796, allocations: 4 kB / 0.5825 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02796, allocations: 0 / 0.5825 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.02904, allocations: 1.055 MB / 0.5835 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.0291, allocations: 83.3 kB / 0.5836 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.02915, allocations: 16 kB / 0.5836 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.02931, allocations: 47.95 kB / 0.5836 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.02938, allocations: 44.61 kB / 0.5837 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.4e-05/0.0294, allocations: 23.98 kB / 0.5837 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002472/0.02965, allocations: 342.9 kB / 0.584 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.02965, allocations: 4 kB / 0.584 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004522/0.0301, allocations: 342.7 kB / 0.5844 GB, free: 3.973 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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 Backend phase and start with SimCode phase: time 0.0001471/0.03025, allocations: 125 kB / 0.5845 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.03151, allocations: 0.8293 MB / 0.5853 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.03151, allocations: 3.859 kB / 0.5853 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.03182, allocations: 296.1 kB / 0.5856 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.03229, allocations: 146.8 kB / 0.5857 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.03386, allocations: 1.526 MB / 0.5872 GB, free: 1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.0341, allocations: 387.5 kB / 0.5876 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.03423, allocations: 64.47 kB / 0.5876 GB, free: 0.5234 MB / 0.5417 GB Notification: Performance of SimCode: time 6.71e-07/0.03423, allocations: 0 / 0.5876 GB, free: 0.5234 MB / 0.5417 GB Notification: Performance of Templates: time 0.008595/0.04282, allocations: 9.217 MB / 0.5966 GB, free: 7.305 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.110202124342322] Failed to read output from testmodel.py, exit status != 0: 0.04831024259328842 0.057116667 0.046235722 Calling exit ...