Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 179] 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.002232/0.002232, allocations: 271.9 kB / 303 MB, free: 3.609 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 0.9637/0.9637, allocations: 180.9 MB / 0.5262 GB, free: 3.121 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 100.3 kB / 0.7248 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4564, allocations: 94.16 MB / 0.8167 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002006/0.4584, allocations: 1.468 MB / 0.8182 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.4588, allocations: 198 kB / 0.8184 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.4588, allocations: 0 / 0.8184 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.4588, allocations: 4.719 kB / 0.8184 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.459, allocations: 20.34 kB / 0.8184 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.4592, allocations: 54.95 kB / 0.8184 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.435e-05/0.4592, allocations: 59.16 kB / 0.8185 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.619e-05/0.4593, allocations: 6.984 kB / 0.8185 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.4594, allocations: 24.61 kB / 0.8185 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.369e-05/0.4594, allocations: 29.56 kB / 0.8185 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.4594, allocations: 3.75 kB / 0.8185 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.4594, allocations: 5.031 kB / 0.8185 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.4595, allocations: 13.88 kB / 0.8186 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.4595, allocations: 22.75 kB / 0.8186 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.852e-05/0.4596, allocations: 50.59 kB / 0.8186 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4596, allocations: 0 / 0.8186 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4596, allocations: 0 / 0.8186 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.4596, allocations: 0 / 0.8186 GB, free: 5.867 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003794/0.46, allocations: 355 kB / 0.819 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.46, allocations: 9.844 kB / 0.819 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.46, allocations: 32.16 kB / 0.819 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.4601, allocations: 6.766 kB / 0.819 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.337e-05/0.4601, allocations: 171.2 kB / 0.8192 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4601, allocations: 1.875 kB / 0.8192 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.4602, allocations: 2.812 kB / 0.8192 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.4603, allocations: 72.84 kB / 0.8193 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.4603, allocations: 7.938 kB / 0.8193 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4603, allocations: 8.266 kB / 0.8193 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4603, allocations: 1.531 kB / 0.8193 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.4603, allocations: 13.19 kB / 0.8193 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.4606, allocations: 277.1 kB / 0.8195 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.239e-05/0.4607, allocations: 36.95 kB / 0.8196 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.4607, allocations: 18.7 kB / 0.8196 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-06/0.4607, allocations: 0.8125 kB / 0.8196 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.4608, allocations: 57.77 kB / 0.8197 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4608, allocations: 0 / 0.8197 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001655/0.461, allocations: 78.81 kB / 0.8197 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.461, allocations: 104.6 kB / 0.8198 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.728e-05/0.461, allocations: 104.6 kB / 0.8199 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.4611, allocations: 35.2 kB / 0.82 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.26e-05/0.4611, allocations: 93.16 kB / 0.8201 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.4611, allocations: 13.8 kB / 0.8201 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.4611, allocations: 19.16 kB / 0.8201 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.171e-05/0.4612, allocations: 319.1 kB / 0.8204 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.4612, allocations: 9.438 kB / 0.8204 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/0.4612, allocations: 35.48 kB / 0.8204 GB, free: 4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.342e-05/0.4613, allocations: 36.66 kB / 0.8205 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4613, allocations: 4 kB / 0.8205 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.134e-05/0.4613, allocations: 54.95 kB / 0.8205 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.4614, allocations: 5.594 kB / 0.8205 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.4614, allocations: 0 / 0.8205 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4614, allocations: 1.406 kB / 0.8205 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.591e-05/0.4614, allocations: 5 kB / 0.8205 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.4614, allocations: 0.6875 kB / 0.8205 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.751e-05/0.4615, allocations: 12.44 kB / 0.8205 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4615, allocations: 1.094 kB / 0.8205 GB, free: 3.93 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.692e-05/0.4616, allocations: 124.5 kB / 0.8207 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.4616, allocations: 2.844 kB / 0.8207 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.4616, allocations: 8.188 kB / 0.8207 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4616, allocations: 4.75 kB / 0.8207 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4616, allocations: 0.75 kB / 0.8207 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4616, allocations: 3.984 kB / 0.8207 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.852e-05/0.4617, allocations: 177.1 kB / 0.8209 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4617, allocations: 0 / 0.8209 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.4617, allocations: 3.844 kB / 0.8209 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4617, allocations: 4 kB / 0.8209 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.4617, allocations: 4.875 kB / 0.8209 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4617, allocations: 0 / 0.8209 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4617, allocations: 0 / 0.8209 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.575e-05/0.4618, allocations: 93.12 kB / 0.821 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.4618, allocations: 83 kB / 0.821 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.4619, allocations: 1.531 kB / 0.821 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.462, allocations: 16.84 kB / 0.8211 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.462, allocations: 6.125 kB / 0.8211 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.462, allocations: 1.062 kB / 0.8211 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.537e-05/0.462, allocations: 92.09 kB / 0.8211 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.462, allocations: 0 / 0.8211 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001779/0.4622, allocations: 14.53 kB / 0.8212 GB, free: 3.309 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0002512/0.4624, allocations: 0.6329 MB / 0.8218 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.83e-05/0.4625, allocations: 35.17 kB / 0.8218 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4625, allocations: 0 / 0.8218 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/0.4626, allocations: 12.59 kB / 0.8218 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.4627, allocations: 7.688 kB / 0.8218 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.4635, allocations: 1.168 MB / 0.823 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.4637, allocations: 0.6792 MB / 0.8236 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.4637, allocations: 11.38 kB / 0.8236 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.4638, allocations: 14.94 kB / 0.8237 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.4638, allocations: 0 / 0.8237 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.4858, allocations: 1.802 MB / 0.8254 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.686, allocations: 14.38 kB / 0.8254 GB, free: 16.44 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --stepSize=31104 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.13309177197516] Failed to read output from testmodel.py, exit status != 0: 7.767407637555152 7.778722143 7.316332175 Calling exit ...