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.001371/0.001371, allocations: 103 kB / 16.45 MB, free: 6.449 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.001412/0.001412, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.452/1.452, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] 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.8951/0.8951, allocations: 145 MB / 453.8 MB, free: 0.7031 MB / 350.1 MB " [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: BuildSysPro 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.00202/0.00202, allocations: 65.97 kB / 0.628 GB, free: 10.65 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2227, allocations: 87.83 MB / 0.7138 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.005215/0.2279, allocations: 1.832 MB / 0.7156 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.2296, allocations: 0.5813 MB / 0.7162 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.2298, allocations: 7.938 kB / 0.7162 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.23, allocations: 19.73 kB / 0.7162 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.2301, allocations: 31.72 kB / 0.7162 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.2304, allocations: 67.86 kB / 0.7163 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.2307, allocations: 171.5 kB / 0.7164 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.2308, allocations: 33.95 kB / 0.7165 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.231, allocations: 59.72 kB / 0.7165 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.2311, allocations: 59.72 kB / 0.7166 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.2311, allocations: 8 kB / 0.7166 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.2311, allocations: 12 kB / 0.7166 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.2312, allocations: 27.83 kB / 0.7166 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.2313, allocations: 71.53 kB / 0.7167 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.2316, allocations: 135.3 kB / 0.7168 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2316, allocations: 0 / 0.7168 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2316, allocations: 0 / 0.7168 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2316, allocations: 4 kB / 0.7168 GB, free: 15.69 MB / 0.545 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.001022/0.2326, allocations: 480.5 kB / 0.7173 GB, free: 15.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.2326, allocations: 8.031 kB / 0.7173 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.712e-05/0.2327, allocations: 46.73 kB / 0.7174 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.2328, allocations: 20.84 kB / 0.7174 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.2332, allocations: 244 kB / 0.7176 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2333, allocations: 8.375 kB / 0.7176 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.2333, allocations: 16.33 kB / 0.7176 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.2337, allocations: 153.2 kB / 0.7178 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2338, allocations: 4 kB / 0.7178 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.2338, allocations: 8 kB / 0.7178 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2338, allocations: 4 kB / 0.7178 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.2341, allocations: 63.89 kB / 0.7179 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.2354, allocations: 0.7395 MB / 0.7186 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.2357, allocations: 46.55 kB / 0.7186 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.2358, allocations: 40.78 kB / 0.7187 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.2358, allocations: 0 / 0.7187 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.2362, allocations: 130.7 kB / 0.7188 GB, free: 13.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.2362, allocations: 0 / 0.7188 GB, free: 13.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007205/0.2369, allocations: 173.6 kB / 0.7189 GB, free: 13.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.237, allocations: 132.5 kB / 0.7191 GB, free: 13.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.2373, allocations: 207.6 kB / 0.7193 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.2373, allocations: 25.7 kB / 0.7193 GB, free: 12.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.2375, allocations: 139.7 kB / 0.7194 GB, free: 12.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.2375, allocations: 31.89 kB / 0.7195 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.2376, allocations: 45.66 kB / 0.7195 GB, free: 12.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.2378, allocations: 334.8 kB / 0.7198 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.238, allocations: 39.97 kB / 0.7199 GB, free: 12.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.2383, allocations: 147.6 kB / 0.72 GB, free: 12.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.2388, allocations: 202.3 kB / 0.7202 GB, free: 11.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2388, allocations: 0 / 0.7202 GB, free: 11.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006434/0.2394, allocations: 201.2 kB / 0.7204 GB, free: 11.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2395, allocations: 8 kB / 0.7204 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.2395, allocations: 4 kB / 0.7204 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.2395, allocations: 4 kB / 0.7204 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.2397, allocations: 40.41 kB / 0.7204 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.2397, allocations: 11.94 kB / 0.7205 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.24, allocations: 27.88 kB / 0.7205 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.24, allocations: 12 kB / 0.7205 GB, free: 11.56 MB / 0.545 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 0.0001694/0.2401, allocations: 133.7 kB / 0.7206 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.2402, allocations: 19.86 kB / 0.7206 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.639e-05/0.2403, allocations: 25.39 kB / 0.7207 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2403, allocations: 0 / 0.7207 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.2403, allocations: 4 kB / 0.7207 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2403, allocations: 0 / 0.7207 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.2415, allocations: 0.5057 MB / 0.7212 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2415, allocations: 4 kB / 0.7212 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.2416, allocations: 27.92 kB / 0.7212 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.2417, allocations: 4 kB / 0.7212 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.2417, allocations: 0 / 0.7212 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.2417, allocations: 15.92 kB / 0.7212 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2417, allocations: 0 / 0.7212 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.2425, allocations: 352.3 kB / 0.7215 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.2425, allocations: 97.02 kB / 0.7216 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.2426, allocations: 4 kB / 0.7216 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.2429, allocations: 15.92 kB / 0.7217 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.243, allocations: 11.98 kB / 0.7217 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.243, allocations: 4 kB / 0.7217 GB, free: 10.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001813/0.2432, allocations: 139.2 kB / 0.7218 GB, free: 10.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2432, allocations: 0 / 0.7218 GB, free: 10.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006346/0.2438, allocations: 35.94 kB / 0.7218 GB, free: 10.07 MB / 0.545 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.001168/0.245, allocations: 0.9049 MB / 0.7227 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005198/0.2455, allocations: 107.8 kB / 0.7228 GB, free: 9.027 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.2455, allocations: 1 kB / 0.7228 GB, free: 9.027 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.2457, allocations: 48.03 kB / 0.7229 GB, free: 8.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009313/0.2466, allocations: 78.77 kB / 0.7229 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.2507, allocations: 2.28 MB / 0.7252 GB, free: 6.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.2511, allocations: 0.7242 MB / 0.7259 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.2513, allocations: 17.67 kB / 0.7259 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.2514, allocations: 51.42 kB / 0.7259 GB, free: 5.621 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.2514, allocations: 4 kB / 0.7259 GB, free: 5.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.2861, allocations: 4.078 MB / 0.7299 GB, free: 1.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.33, allocations: 3.984 kB / 0.7299 GB, free: 1.676 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.114359605009668] Failed to read output from testmodel.py, exit status != 0: 8.398423272999935 8.41247286 8.178000395 Calling exit ...