Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.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.0009092/0.0009092, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.001036/0.001036, allocations: 165.9 kB / 22.46 MB, free: 2.102 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.9315/0.9315, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5629/0.5629, allocations: 110.2 MB / 369.4 MB, free: 12.6 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5473 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.317e-05, allocations: 6.219 kB / 0.5473 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002464/0.002488, allocations: 1.792 MB / 0.549 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009126/0.0034, allocations: 0.5338 MB / 0.5496 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.003513, allocations: 11.88 kB / 0.5496 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.003656, allocations: 23.73 kB / 0.5496 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.523e-05/0.003721, allocations: 31.72 kB / 0.5496 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.003953, allocations: 71.8 kB / 0.5497 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.004196, allocations: 175.4 kB / 0.5499 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.004337, allocations: 29.8 kB / 0.5499 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.004446, allocations: 83.73 kB / 0.55 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.004515, allocations: 47.81 kB / 0.55 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.004545, allocations: 8 kB / 0.55 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.00456, allocations: 12 kB / 0.55 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.004592, allocations: 27.89 kB / 0.5501 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.004638, allocations: 43.86 kB / 0.5501 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.004814, allocations: 135.5 kB / 0.5502 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004817, allocations: 0 / 0.5502 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.873e-06/0.004819, allocations: 0 / 0.5502 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.004824, allocations: 3.938 kB / 0.5502 GB, free: 6.785 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006342/0.005458, allocations: 423.2 kB / 0.5506 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.005501, allocations: 12.03 kB / 0.5506 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.005541, allocations: 46.73 kB / 0.5507 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.00558, allocations: 20.84 kB / 0.5507 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.005847, allocations: 177.4 kB / 0.5509 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.005862, allocations: 8.375 kB / 0.5509 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.005892, allocations: 16.33 kB / 0.5509 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.006131, allocations: 157.2 kB / 0.5511 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.006141, allocations: 192 / 0.5511 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.006158, allocations: 12.12 kB / 0.5511 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.006167, allocations: 4 kB / 0.5511 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.006303, allocations: 71.83 kB / 0.5511 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007792/0.007082, allocations: 0.684 MB / 0.5518 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.00719, allocations: 46.5 kB / 0.5518 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.007247, allocations: 36.81 kB / 0.5519 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.007265, allocations: 4 kB / 0.5519 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.00743, allocations: 118.8 kB / 0.552 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.007432, allocations: 0 / 0.552 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0003095/0.007741, allocations: 177.3 kB / 0.5522 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.007804, allocations: 132.5 kB / 0.5523 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.007939, allocations: 203.7 kB / 0.5525 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.007957, allocations: 37.7 kB / 0.5525 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.008022, allocations: 131.9 kB / 0.5527 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.008048, allocations: 43.83 kB / 0.5527 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.008093, allocations: 41.7 kB / 0.5527 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.00819, allocations: 326.8 kB / 0.553 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.856e-05/0.008268, allocations: 35.97 kB / 0.5531 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.008405, allocations: 148.8 kB / 0.5532 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.008588, allocations: 202.3 kB / 0.5534 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.008593, allocations: 3.938 kB / 0.5534 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002292/0.008822, allocations: 209.4 kB / 0.5536 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.008835, allocations: 7.984 kB / 0.5536 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.008841, allocations: 4 kB / 0.5536 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.008856, allocations: 8 kB / 0.5536 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.954e-05/0.008925, allocations: 35.86 kB / 0.5537 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.008933, allocations: 4 kB / 0.5537 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/0.00901, allocations: 32.11 kB / 0.5537 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.00902, allocations: 12 kB / 0.5537 GB, free: 2.848 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 9.186e-05/0.009112, allocations: 141.7 kB / 0.5539 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.009133, allocations: 15.91 kB / 0.5539 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.00917, allocations: 21.45 kB / 0.5539 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.009173, allocations: 4 kB / 0.5539 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.009179, allocations: 0 / 0.5539 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.009182, allocations: 0 / 0.5539 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.009692, allocations: 484.6 kB / 0.5544 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.009694, allocations: 0 / 0.5544 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.009755, allocations: 19.92 kB / 0.5544 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.009759, allocations: 4 kB / 0.5544 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.009774, allocations: 4 kB / 0.5544 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.009778, allocations: 7.984 kB / 0.5544 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.00978, allocations: 0 / 0.5544 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.01012, allocations: 356.2 kB / 0.5547 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.01014, allocations: 31.89 kB / 0.5548 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.01016, allocations: 8.25 kB / 0.5548 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.01024, allocations: 12.36 kB / 0.5548 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.0103, allocations: 19.92 kB / 0.5548 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.01031, allocations: 7.984 kB / 0.5548 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.921e-05/0.0104, allocations: 139.2 kB / 0.5549 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.0104, allocations: 0 / 0.5549 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000235/0.01064, allocations: 28 kB / 0.555 GB, free: 1.484 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0005688/0.01121, allocations: 0.8812 MB / 0.5558 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.01144, allocations: 116.5 kB / 0.5559 GB, free: 468 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01144, allocations: 0 / 0.5559 GB, free: 468 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.01152, allocations: 52.09 kB / 0.556 GB, free: 416 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.01188, allocations: 67.41 kB / 0.556 GB, free: 352 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.0137, allocations: 2.252 MB / 0.5582 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.0138, allocations: 112.3 kB / 0.5584 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.681e-05/0.01389, allocations: 21.59 kB / 0.5584 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.01398, allocations: 52.48 kB / 0.5584 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/0.01398, allocations: 0 / 0.5584 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.03624, allocations: 4.913 MB / 0.5632 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/6.738, allocations: 10.91 kB / 0.5632 GB, free: 8.988 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.38624448608607] Failed to read output from testmodel.py, exit status != 0: 6.8194319400936365 6.829089756 6.822645391 Calling exit ...