Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.000894/0.000894, allocations: 76.5 kB / 19.92 MB, free: 4.633 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.0009813/0.0009813, allocations: 170.3 kB / 23.2 MB, free: 1.359 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.9489/0.9489, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5538/0.5538, allocations: 114 MB / 373.9 MB, free: 8.727 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 0.5543 GB, free: 1.637 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.981e-05, allocations: 2.281 kB / 0.5543 GB, free: 1.633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.0018/0.00182, allocations: 0.8268 MB / 0.5551 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.003378, allocations: 1.209 MB / 0.5562 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.003441, allocations: 4 kB / 0.5562 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.00348, allocations: 7.875 kB / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.873e-05/0.003569, allocations: 15.8 kB / 0.5563 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.004098, allocations: 151.5 kB / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.004314, allocations: 171.6 kB / 0.5566 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.004439, allocations: 21.3 kB / 0.5566 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.00459, allocations: 103.8 kB / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.004702, allocations: 51.84 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.004732, allocations: 12 kB / 0.5568 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.004802, allocations: 31.94 kB / 0.5568 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.004836, allocations: 27.89 kB / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.754e-05/0.004904, allocations: 51.83 kB / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.005141, allocations: 187.5 kB / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005144, allocations: 4 kB / 0.557 GB, free: 14.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005145, allocations: 0 / 0.557 GB, free: 14.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.005149, allocations: 3.938 kB / 0.5571 GB, free: 14.76 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006523/0.005801, allocations: 410.1 kB / 0.5574 GB, free: 14.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.005842, allocations: 12.62 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.00588, allocations: 42.73 kB / 0.5575 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.005934, allocations: 16.89 kB / 0.5575 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.006377, allocations: 198.4 kB / 0.5577 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.006397, allocations: 8.375 kB / 0.5577 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.006434, allocations: 20.36 kB / 0.5577 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.006635, allocations: 85.88 kB / 0.5578 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.006645, allocations: 192 / 0.5578 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.006659, allocations: 4.359 kB / 0.5578 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.006667, allocations: 7.938 kB / 0.5578 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.006813, allocations: 51.95 kB / 0.5579 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.007361, allocations: 331.6 kB / 0.5582 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.872e-05/0.007429, allocations: 30.56 kB / 0.5582 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.007476, allocations: 28.95 kB / 0.5582 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.007495, allocations: 7.938 kB / 0.5583 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.007648, allocations: 91.36 kB / 0.5583 GB, free: 13.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.007649, allocations: 4 kB / 0.5583 GB, free: 13.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002514/0.007901, allocations: 133.5 kB / 0.5585 GB, free: 13.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.007932, allocations: 55.41 kB / 0.5585 GB, free: 13.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.008013, allocations: 151 kB / 0.5587 GB, free: 12.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.008032, allocations: 29.7 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.008088, allocations: 116.1 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.008105, allocations: 31.73 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.008158, allocations: 45.7 kB / 0.5589 GB, free: 12.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.008234, allocations: 330.8 kB / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.884e-05/0.008333, allocations: 81.66 kB / 0.5593 GB, free: 12.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.008452, allocations: 161.1 kB / 0.5594 GB, free: 12.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.0087, allocations: 204.6 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.008702, allocations: 0 / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002757/0.008978, allocations: 272.7 kB / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.009006, allocations: 46.41 kB / 0.5599 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.009011, allocations: 0 / 0.5599 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.009023, allocations: 4 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.009085, allocations: 27.92 kB / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.009091, allocations: 4.375 kB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.0092, allocations: 47.84 kB / 0.56 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.009216, allocations: 12 kB / 0.56 GB, free: 11.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 7.164e-05/0.009288, allocations: 129.7 kB / 0.5601 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.009298, allocations: 11.94 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.009324, allocations: 16.72 kB / 0.5602 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.009326, allocations: 0 / 0.5602 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.009332, allocations: 4 kB / 0.5602 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.009335, allocations: 0 / 0.5602 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.009665, allocations: 373.4 kB / 0.5605 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009666, allocations: 0 / 0.5605 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.009708, allocations: 11.98 kB / 0.5605 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.00971, allocations: 3.938 kB / 0.5605 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.009718, allocations: 4 kB / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.00972, allocations: 3.938 kB / 0.5606 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.009722, allocations: 3.984 kB / 0.5606 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.009943, allocations: 242 kB / 0.5608 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.009952, allocations: 11.91 kB / 0.5608 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.009965, allocations: 4.031 kB / 0.5608 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.01001, allocations: 7.938 kB / 0.5608 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.01004, allocations: 11.98 kB / 0.5608 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.01005, allocations: 7.984 kB / 0.5608 GB, free: 10.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.295e-05/0.01009, allocations: 106.2 kB / 0.5609 GB, free: 10.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01009, allocations: 0 / 0.5609 GB, free: 10.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001941/0.01029, allocations: 32.12 kB / 0.561 GB, free: 10.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004177/0.0107, allocations: 0.7826 MB / 0.5617 GB, free: 9.547 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.01094, allocations: 197.4 kB / 0.5619 GB, free: 9.336 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01095, allocations: 192 / 0.5619 GB, free: 9.336 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.924e-05/0.011, allocations: 35.97 kB / 0.5619 GB, free: 9.301 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.0112, allocations: 27.92 kB / 0.562 GB, free: 9.273 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.01272, allocations: 2.067 MB / 0.564 GB, free: 7.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.548e-05/0.01277, allocations: 93.67 kB / 0.5641 GB, free: 6.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.381e-05/0.01281, allocations: 16.64 kB / 0.5641 GB, free: 6.895 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.01286, allocations: 40.48 kB / 0.5641 GB, free: 6.852 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01286, allocations: 0 / 0.5641 GB, free: 6.852 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.02824, allocations: 3.975 MB / 0.568 GB, free: 3.094 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.193, allocations: 4.875 kB / 0.568 GB, free: 3.09 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.647117870859802] Failed to read output from testmodel.py, exit status != 0: 7.276744917966425 7.286674392 7.279453988 Calling exit ...