Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.00146/0.00146, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001482/0.001482, allocations: 216.4 kB / 23.03 MB, free: 4.949 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.944/2.944, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.002083/0.002083, allocations: 64.42 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.371, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003945/0.375, allocations: 1.638 MB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3773, allocations: 1.279 MB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.3774, allocations: 11.94 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.3779, allocations: 77.02 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.378, allocations: 71.52 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.3789, allocations: 289.5 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.3792, allocations: 187.2 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.3792, allocations: 5.688 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3794, allocations: 83.69 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.3795, allocations: 91.59 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.3795, allocations: 8 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.3801, allocations: 343.5 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.3802, allocations: 71.67 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.839e-05/0.3803, allocations: 75.59 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.3808, allocations: 398.6 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3808, allocations: 0 / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3808, allocations: 4 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.3809, allocations: 0 / 1.289 GB, free: 6.047 MB / 0.9825 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.000925/0.3818, allocations: 488.6 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3818, allocations: 8.031 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.842e-05/0.3818, allocations: 4.188 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.3819, allocations: 46.72 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.3819, allocations: 24.73 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.3824, allocations: 222.5 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.3826, allocations: 141.1 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3826, allocations: 12.12 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.3828, allocations: 85.64 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3828, allocations: 0 / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3828, allocations: 4 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3828, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.3831, allocations: 103.9 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.3834, allocations: 212.6 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.3848, allocations: 294.3 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.3849, allocations: 60.77 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.3851, allocations: 23.89 kB / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3851, allocations: 30.56 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3851, allocations: 0 / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0005216/0.3856, allocations: 213.4 kB / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.3857, allocations: 55.41 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.3861, allocations: 304.4 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3861, allocations: 25.7 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.3862, allocations: 124.5 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.3862, allocations: 27.83 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.3863, allocations: 57.69 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3864, allocations: 334.8 kB / 1.291 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.3867, allocations: 151.9 kB / 1.291 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.3869, allocations: 155.9 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.3874, allocations: 293.6 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3874, allocations: 256 / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005998/0.388, allocations: 404.9 kB / 1.292 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.388, allocations: 4 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.388, allocations: 8 kB / 1.292 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3881, allocations: 0 / 1.292 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3882, allocations: 19.98 kB / 1.292 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.3882, allocations: 4 kB / 1.292 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.3883, allocations: 35.62 kB / 1.292 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.3883, allocations: 7.984 kB / 1.292 GB, free: 1.918 MB / 0.9825 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001265/0.3885, allocations: 129.8 kB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3885, allocations: 23.8 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.3889, allocations: 175.5 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3889, allocations: 4 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3889, allocations: 0 / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3889, allocations: 0 / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.3891, allocations: 204.6 kB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3891, allocations: 0 / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.283e-05/0.3892, allocations: 15.98 kB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3892, allocations: 0 / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3892, allocations: 4 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3892, allocations: 0 / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3892, allocations: 8 kB / 1.293 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.3896, allocations: 184.8 kB / 1.293 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.3896, allocations: 27.84 kB / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.3897, allocations: 0 / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.3898, allocations: 7.984 kB / 1.293 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.3898, allocations: 11.97 kB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.3898, allocations: 4 kB / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001967/0.39, allocations: 199.1 kB / 1.293 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.39, allocations: 0 / 1.293 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004399/0.3905, allocations: 115.8 kB / 1.293 GB, free: 0.75 MB / 0.9825 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 (6): * Single equations (assignments): 6 * 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.001143/0.3916, allocations: 0.8892 MB / 1.294 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.3921, allocations: 303.3 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3921, allocations: 3.938 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.3922, allocations: 59.89 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3925, allocations: 34.7 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.3958, allocations: 2.706 MB / 1.297 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.396, allocations: 124 kB / 1.297 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.998e-05/0.3961, allocations: 21.02 kB / 1.297 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3962, allocations: 59.41 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.3962, allocations: 0 / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.4377, allocations: 6.222 MB / 1.304 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.5, allocations: 8.484 kB / 1.304 GB, free: 6.398 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.535616763983853] Failed to read output from testmodel.py, exit status != 0: 13.255101772025228 12.682410061 12.295754157 Calling exit ...