Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001231/0.001231, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001375/0.001375, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.113/3.113, allocations: 0.49 GB / 0.7959 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001926/0.001926, allocations: 65.12 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3502, allocations: 176.1 MB / 1.327 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002801/0.353, allocations: 1.49 MB / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004573/0.3534, allocations: 183.4 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.3535, allocations: 0 / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.3535, allocations: 3.938 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.3537, allocations: 35.84 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.3539, allocations: 50.17 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.354, allocations: 63.77 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.3541, allocations: 11.94 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.369e-05/0.3542, allocations: 23.92 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.3542, allocations: 19.92 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3543, allocations: 7.938 kB / 1.329 GB, free: 48 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.3543, allocations: 7.938 kB / 1.329 GB, free: 40 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.3543, allocations: 15.97 kB / 1.329 GB, free: 24 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.3543, allocations: 23.92 kB / 1.329 GB, free: 0 / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.3545, allocations: 47.98 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3545, allocations: 0 / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3545, allocations: 0 / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.3545, allocations: 4 kB / 1.329 GB, free: 15.95 MB / 1.029 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.0005132/0.355, allocations: 270.3 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3551, allocations: 8.031 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.994e-05/0.3551, allocations: 4.188 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.3551, allocations: 38.75 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3551, allocations: 8.891 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.3553, allocations: 114.5 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3553, allocations: 4.375 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.3553, allocations: 384 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3554, allocations: 80.5 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.3555, allocations: 3.938 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3555, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3555, allocations: 7.984 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.779e-05/0.3555, allocations: 23.98 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.3559, allocations: 243.9 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.936e-05/0.356, allocations: 38.56 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.3561, allocations: 16.94 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.3561, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.3563, allocations: 63.39 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3563, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002058/0.3565, allocations: 69.62 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.3565, allocations: 110.8 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.3566, allocations: 105.9 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3566, allocations: 25.7 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.3567, allocations: 84.12 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3567, allocations: 19.91 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.3568, allocations: 17.72 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3569, allocations: 322.8 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.3569, allocations: 8 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.357, allocations: 30.56 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.3571, allocations: 28.8 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3571, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001112/0.3572, allocations: 62.06 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3572, allocations: 8.031 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3572, allocations: 64 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3572, allocations: 7.938 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.3573, allocations: 11.98 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3573, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3574, allocations: 11.89 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.3574, allocations: 7.984 kB / 1.33 GB, free: 13.89 MB / 1.029 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 0.0001056/0.3575, allocations: 122.3 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.3575, allocations: 4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.3575, allocations: 3.688 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3575, allocations: 7.938 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3575, allocations: 3.938 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3576, allocations: 0 / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.3577, allocations: 148.6 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3577, allocations: 0 / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.3577, allocations: 4 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3577, allocations: 0 / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3577, allocations: 4 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3577, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3577, allocations: 4 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.3579, allocations: 89.05 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.3579, allocations: 15.94 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.358, allocations: 0 / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3581, allocations: 9.547 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.3581, allocations: 8.234 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3581, allocations: 0 / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.3582, allocations: 91.2 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3582, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001957/0.3584, allocations: 16 kB / 1.331 GB, free: 13.3 MB / 1.029 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.0004995/0.3589, allocations: 0.6241 MB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.359, allocations: 32.11 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.359, allocations: 8 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.427e-05/0.3591, allocations: 12 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.3592, allocations: 3.938 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.3605, allocations: 1.18 MB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3608, allocations: 0.6807 MB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.3608, allocations: 4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.3609, allocations: 15.42 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3609, allocations: 4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.3828, allocations: 1.921 MB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.5, allocations: 0.9375 kB / 1.335 GB, free: 8.867 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --stepSize=31587.8 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.137938814004883] Failed to read output from testmodel.py, exit status != 0: 11.660157266014721 11.687148799 11.32850041 Calling exit ...