Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.001366/0.001366, allocations: 105.1 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.001409/0.001409, allocations: 212 kB / 19.43 MB, free: 3.637 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.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002607/0.002607, allocations: 291.2 kB / 309.1 MB, free: 3.984 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.219/1.219, allocations: 180.9 MB / 0.5333 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003546/0.003546, allocations: 100.9 kB / 0.7342 GB, free: 28.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2211, allocations: 95.34 MB / 0.8273 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001831/0.2229, allocations: 0.5972 MB / 0.8279 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 3.627e-05/0.223, allocations: 4 kB / 0.8279 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.223, allocations: 0 / 0.8279 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.223, allocations: 4 kB / 0.8279 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.223, allocations: 0 / 0.8279 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.835e-05/0.2231, allocations: 0 / 0.8279 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.052e-05/0.2231, allocations: 8 kB / 0.8279 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.2232, allocations: 0 / 0.8279 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.635e-05/0.2232, allocations: 0 / 0.8279 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.459e-05/0.2232, allocations: 11.88 kB / 0.8279 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.2232, allocations: 0 / 0.8279 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-06/0.2232, allocations: 0 / 0.8279 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.2232, allocations: 4 kB / 0.8279 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.2232, allocations: 3.984 kB / 0.8279 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 5.522e-05/0.2233, allocations: 3.984 kB / 0.8279 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2233, allocations: 0 / 0.8279 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2233, allocations: 0 / 0.8279 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.2233, allocations: 0 / 0.8279 GB, free: 9.27 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003335/0.2236, allocations: 307.9 kB / 0.8282 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2237, allocations: 11.97 kB / 0.8282 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.2237, allocations: 34.75 kB / 0.8283 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.786e-05/0.2237, allocations: 4.938 kB / 0.8283 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2239, allocations: 172.3 kB / 0.8284 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2239, allocations: 384 / 0.8284 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.2239, allocations: 384 / 0.8285 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.345e-05/0.224, allocations: 26.27 kB / 0.8285 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.224, allocations: 7.938 kB / 0.8285 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-06/0.224, allocations: 0 / 0.8285 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.224, allocations: 0 / 0.8285 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.855e-05/0.224, allocations: 3.938 kB / 0.8285 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.2242, allocations: 145.7 kB / 0.8286 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.2242, allocations: 22.61 kB / 0.8286 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.2243, allocations: 8.844 kB / 0.8287 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.2243, allocations: 0 / 0.8287 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.2243, allocations: 34.62 kB / 0.8287 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.2243, allocations: 0 / 0.8287 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000124/0.2244, allocations: 45.52 kB / 0.8287 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.2245, allocations: 55.53 kB / 0.8288 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.67e-05/0.2245, allocations: 89.86 kB / 0.8289 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2245, allocations: 25.7 kB / 0.8289 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.2246, allocations: 80.14 kB / 0.829 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.2246, allocations: 0 / 0.829 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.2246, allocations: 13.72 kB / 0.829 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2248, allocations: 314.8 kB / 0.8293 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.2248, allocations: 0 / 0.8293 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/0.2248, allocations: 8.406 kB / 0.8293 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.436e-05/0.2248, allocations: 8.859 kB / 0.8293 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2248, allocations: 0 / 0.8293 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.252e-05/0.2249, allocations: 37.64 kB / 0.8293 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2249, allocations: 5.719 kB / 0.8293 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.2249, allocations: 3.938 kB / 0.8293 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2249, allocations: 0 / 0.8293 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.2249, allocations: 4 kB / 0.8294 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.225, allocations: 0 / 0.8294 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.043e-05/0.225, allocations: 4.094 kB / 0.8294 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.225, allocations: 0 / 0.8294 GB, free: 7.59 MB / 0.5762 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 (1): * Single equations (assignments): 1 * 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 7.759e-05/0.225, allocations: 109.8 kB / 0.8295 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-06/0.2251, allocations: 0 / 0.8295 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.2251, allocations: 15.05 kB / 0.8295 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.2251, allocations: 4 kB / 0.8295 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2251, allocations: 0 / 0.8295 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2251, allocations: 3.938 kB / 0.8295 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2252, allocations: 141.7 kB / 0.8296 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.2252, allocations: 7.984 kB / 0.8296 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.158e-05/0.2252, allocations: 4 kB / 0.8296 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2252, allocations: 0 / 0.8296 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2252, allocations: 7.938 kB / 0.8296 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.2252, allocations: 0 / 0.8296 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2252, allocations: 3.938 kB / 0.8296 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.319e-05/0.2253, allocations: 53.14 kB / 0.8297 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.2253, allocations: 81.11 kB / 0.8298 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.2253, allocations: 11.95 kB / 0.8298 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.102e-06/0.2253, allocations: 3.938 kB / 0.8298 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-06/0.2253, allocations: 0 / 0.8298 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-06/0.2253, allocations: 0 / 0.8298 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.2254, allocations: 75.28 kB / 0.8299 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2254, allocations: 0 / 0.8299 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001665/0.2256, allocations: 4 kB / 0.8299 GB, free: 6.98 MB / 0.5762 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 (1): * Single equations (assignments): 1 * 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.0004005/0.226, allocations: 0.6045 MB / 0.8304 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.207e-05/0.226, allocations: 4 kB / 0.8305 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.226, allocations: 0 / 0.8305 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-06/0.226, allocations: 0 / 0.8305 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.2262, allocations: 1.031 kB / 0.8305 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.2264, allocations: 106.3 kB / 0.8306 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.2268, allocations: 0.6768 MB / 0.8312 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.998e-06/0.2268, allocations: 3.938 kB / 0.8312 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.2268, allocations: 7.438 kB / 0.8312 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.2268, allocations: 0 / 0.8312 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.2511, allocations: 0.9008 MB / 0.8321 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.253, allocations: 12.66 kB / 0.8321 GB, free: 4.664 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.435138987842947] Failed to read output from testmodel.py, exit status != 0: 8.318435390014201 8.332787955 8.106444715 Calling exit ...