Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0008794/0.0008794, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 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.001521/0.001521, allocations: 214.8 kB / 23.03 MB, free: 2.953 MB / 13.93 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.007/1.007, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.976/1.976, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009542/0.0009542, allocations: 63.91 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7359/0.7369, allocations: 180 MB / 1.352 GB, free: 1.691 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002229/0.7391, allocations: 1.838 MB / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002858/0.742, allocations: 3.398 MB / 1.358 GB, free: 12.43 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.7421, allocations: 0 / 1.358 GB, free: 12.43 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.7428, allocations: 170.1 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.7429, allocations: 79.47 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.743, allocations: 51.92 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.7434, allocations: 271.1 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.7435, allocations: 17.73 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.7436, allocations: 79.69 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.7437, allocations: 79.55 kB / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.7437, allocations: 8 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.978e-05/0.7438, allocations: 20 kB / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.7438, allocations: 59.81 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.7439, allocations: 79.47 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.7441, allocations: 191 kB / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.7441, allocations: 0 / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7441, allocations: 0 / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.7442, allocations: 0 / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005654/0.7447, allocations: 478.5 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.7448, allocations: 12.92 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.7448, allocations: 38.75 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004277/0.7452, allocations: 120.6 kB / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.7455, allocations: 209.4 kB / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.7456, allocations: 4.375 kB / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.7456, allocations: 8.359 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.7458, allocations: 149.5 kB / 1.36 GB, free: 10.28 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.7458, allocations: 3.938 kB / 1.36 GB, free: 10.27 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.7458, allocations: 4 kB / 1.36 GB, free: 10.27 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.7458, allocations: 11.98 kB / 1.36 GB, free: 10.26 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.7461, allocations: 147.9 kB / 1.36 GB, free: 10.11 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.7465, allocations: 419.7 kB / 1.36 GB, free: 9.66 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.7468, allocations: 162.5 kB / 1.36 GB, free: 9.492 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.7469, allocations: 106.6 kB / 1.36 GB, free: 9.387 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.7469, allocations: 4 kB / 1.36 GB, free: 9.383 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.747, allocations: 34.5 kB / 1.36 GB, free: 9.34 MB / 1.042 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.747, allocations: 0 / 1.36 GB, free: 9.34 MB / 1.042 GB Notification: Performance of matching and sorting (n=13): time 0.0005101/0.7475, allocations: 313.6 kB / 1.361 GB, free: 9.027 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.7475, allocations: 51.41 kB / 1.361 GB, free: 8.965 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.7477, allocations: 241.9 kB / 1.361 GB, free: 8.723 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.7477, allocations: 29.7 kB / 1.361 GB, free: 8.688 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.7477, allocations: 132.1 kB / 1.361 GB, free: 8.555 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.7478, allocations: 47.59 kB / 1.361 GB, free: 8.508 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.7478, allocations: 37.69 kB / 1.361 GB, free: 8.465 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.7479, allocations: 338.8 kB / 1.362 GB, free: 8.125 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.748, allocations: 75.92 kB / 1.362 GB, free: 8.051 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.7482, allocations: 83.94 kB / 1.362 GB, free: 7.969 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.7484, allocations: 175.8 kB / 1.362 GB, free: 7.797 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7484, allocations: 0 / 1.362 GB, free: 7.797 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003076/0.7487, allocations: 229.4 kB / 1.362 GB, free: 7.566 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.7487, allocations: 4 kB / 1.362 GB, free: 7.562 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7487, allocations: 7.938 kB / 1.362 GB, free: 7.555 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7488, allocations: 0 / 1.362 GB, free: 7.555 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.7489, allocations: 35.97 kB / 1.362 GB, free: 7.52 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.7489, allocations: 7.922 kB / 1.362 GB, free: 7.512 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.749, allocations: 15.98 kB / 1.362 GB, free: 7.496 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.749, allocations: 7.938 kB / 1.362 GB, free: 7.488 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.291e-05/0.7491, allocations: 142.3 kB / 1.362 GB, free: 7.34 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.7491, allocations: 27.81 kB / 1.362 GB, free: 7.312 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.7492, allocations: 29.78 kB / 1.362 GB, free: 7.277 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.7492, allocations: 0 / 1.362 GB, free: 7.277 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7492, allocations: 3.984 kB / 1.362 GB, free: 7.273 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.7492, allocations: 0 / 1.362 GB, free: 7.273 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.7493, allocations: 236.5 kB / 1.363 GB, free: 7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7494, allocations: 0 / 1.363 GB, free: 7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.7495, allocations: 31.97 kB / 1.363 GB, free: 6.969 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7495, allocations: 4 kB / 1.363 GB, free: 6.965 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.7495, allocations: 7.984 kB / 1.363 GB, free: 6.957 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7495, allocations: 7.938 kB / 1.363 GB, free: 6.949 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7495, allocations: 0 / 1.363 GB, free: 6.949 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.7498, allocations: 327.2 kB / 1.363 GB, free: 6.613 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.7499, allocations: 35.8 kB / 1.363 GB, free: 6.578 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.7499, allocations: 0 / 1.363 GB, free: 6.578 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.75, allocations: 23.97 kB / 1.363 GB, free: 6.555 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.75, allocations: 11.97 kB / 1.363 GB, free: 6.543 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.75, allocations: 4 kB / 1.363 GB, free: 6.539 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001001/0.7501, allocations: 185.1 kB / 1.363 GB, free: 6.359 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7501, allocations: 0 / 1.363 GB, free: 6.359 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001741/0.7503, allocations: 32 kB / 1.363 GB, free: 6.328 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0005313/0.7508, allocations: 0.8756 MB / 1.364 GB, free: 5.43 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.7511, allocations: 179.8 kB / 1.364 GB, free: 5.254 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7511, allocations: 0 / 1.364 GB, free: 5.254 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.7513, allocations: 91.92 kB / 1.364 GB, free: 5.164 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.7516, allocations: 52.25 kB / 1.364 GB, free: 5.113 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.7538, allocations: 2.411 MB / 1.367 GB, free: 2.625 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.692e-05/0.7539, allocations: 132 kB / 1.367 GB, free: 2.473 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.754, allocations: 61.38 kB / 1.367 GB, free: 2.414 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.7541, allocations: 71.41 kB / 1.367 GB, free: 2.344 MB / 1.042 GB Notification: Performance of SimCode: time 8.41e-07/0.7541, allocations: 3.938 kB / 1.367 GB, free: 2.34 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08142/0.8355, allocations: 5.492 MB / 1.372 GB, free: 13.06 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/7.507, allocations: 4 kB / 1.372 GB, free: 13.05 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ../Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.406269519589841]