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.001371/0.001371, allocations: 97.11 kB / 19.73 MB, free: 1.871 MB / 14.72 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.001821/0.001821, allocations: 204.5 kB / 23.04 MB, free: 5.008 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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.9747/0.9747, allocations: 150 MB / 463.2 MB, free: 10.19 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 74.69 kB / 0.6413 GB, free: 9.805 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1968, allocations: 89.17 MB / 0.7284 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002202/0.199, allocations: 0.8268 MB / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.2007, allocations: 1.198 MB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.2008, allocations: 0 / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.2008, allocations: 7.875 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2009, allocations: 15.81 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.2015, allocations: 158.5 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.2018, allocations: 163.7 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.2019, allocations: 29.28 kB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.202, allocations: 67.83 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.2022, allocations: 59.8 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.2022, allocations: 15.94 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.2023, allocations: 31.92 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.2023, allocations: 23.92 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.2024, allocations: 55.83 kB / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.2027, allocations: 171.6 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2027, allocations: 0 / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2027, allocations: 0 / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.2027, allocations: 0 / 0.7312 GB, free: 13.89 MB / 0.5606 GB 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.000838/0.2035, allocations: 422 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2036, allocations: 8.031 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/0.2036, allocations: 38.75 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.2037, allocations: 12.89 kB / 0.7316 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.2042, allocations: 196.7 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.2042, allocations: 12.38 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.2043, allocations: 12.38 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.2045, allocations: 93.95 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2046, allocations: 4 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.2046, allocations: 0 / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2046, allocations: 0 / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.2048, allocations: 51.89 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008291/0.2056, allocations: 339.7 kB / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.2057, allocations: 34.5 kB / 0.7323 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/0.2058, allocations: 28.97 kB / 0.7324 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.2059, allocations: 0 / 0.7324 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003502/0.2062, allocations: 95.34 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.2062, allocations: 0 / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004679/0.2067, allocations: 149.3 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.2068, allocations: 63.34 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.2069, allocations: 137.8 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.207, allocations: 37.64 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.2071, allocations: 108.1 kB / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.2071, allocations: 23.81 kB / 0.7329 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-05/0.2072, allocations: 49.69 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2073, allocations: 322.8 kB / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.2075, allocations: 81.66 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.2077, allocations: 158.9 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.2081, allocations: 212.6 kB / 0.7337 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2081, allocations: 0 / 0.7337 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005238/0.2086, allocations: 269 kB / 0.734 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/0.2087, allocations: 37.73 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2087, allocations: 4 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.2087, allocations: 4 kB / 0.734 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.2088, allocations: 31.84 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2088, allocations: 7.984 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.2091, allocations: 43.86 kB / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.2091, allocations: 11.98 kB / 0.7341 GB, free: 10.53 MB / 0.5606 GB 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 0.0001339/0.2092, allocations: 136 kB / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.2093, allocations: 15.91 kB / 0.7343 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.2093, allocations: 12.7 kB / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.2093, allocations: 7.938 kB / 0.7343 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2093, allocations: 0 / 0.7343 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2093, allocations: 0 / 0.7343 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.2099, allocations: 357.5 kB / 0.7346 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2099, allocations: 0 / 0.7346 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.921e-05/0.21, allocations: 24.33 kB / 0.7346 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.21, allocations: 4 kB / 0.7347 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2101, allocations: 4 kB / 0.7347 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2101, allocations: 0 / 0.7347 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2101, allocations: 0 / 0.7347 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.2105, allocations: 247.2 kB / 0.7349 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.2105, allocations: 7.891 kB / 0.7349 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.2106, allocations: 4 kB / 0.7349 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.2107, allocations: 15.97 kB / 0.7349 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.2107, allocations: 11.98 kB / 0.7349 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.2107, allocations: 0 / 0.7349 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.227e-05/0.2108, allocations: 108.5 kB / 0.735 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2108, allocations: 0 / 0.735 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002966/0.2111, allocations: 31.94 kB / 0.7351 GB, free: 9.488 MB / 0.5606 GB 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.0007692/0.2119, allocations: 0.7786 MB / 0.7358 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.2123, allocations: 208.9 kB / 0.736 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2123, allocations: 0 / 0.736 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2124, allocations: 39.91 kB / 0.7361 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.2127, allocations: 19.52 kB / 0.7361 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.2154, allocations: 2.098 MB / 0.7381 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.545e-05/0.2155, allocations: 93.62 kB / 0.7382 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.452e-05/0.2155, allocations: 20.58 kB / 0.7382 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.2156, allocations: 35.75 kB / 0.7383 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.2156, allocations: 0 / 0.7383 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.2498, allocations: 3.824 MB / 0.742 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.21, allocations: 8.391 kB / 0.742 GB, free: 2.305 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.126808340195566] Failed to read output from testmodel.py, exit status != 0: 11.323860608041286 11.344326295 11.138607463 Calling exit ...