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.001783/0.001783, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00233/0.00233, allocations: 217 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.887/2.887, allocations: 476.7 MB / 0.7715 GB, free: 4.324 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.00224/0.00224, allocations: 67.22 kB / 1.118 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3951, allocations: 170 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002947/0.3981, allocations: 1.709 MB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.4003, allocations: 1.426 MB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.4004, allocations: 4 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.4008, allocations: 87.52 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.4009, allocations: 67.58 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007419/0.4016, allocations: 291.2 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.4019, allocations: 187.1 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.4019, allocations: 13.62 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.4021, allocations: 75.75 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.4022, allocations: 95.59 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.4022, allocations: 4 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.4028, allocations: 363.4 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.4029, allocations: 67.73 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.403, allocations: 91.45 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.4036, allocations: 394.6 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4036, allocations: 0 / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4037, allocations: 0 / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.4037, allocations: 8 kB / 1.289 GB, free: 6.809 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.001166/0.4048, allocations: 490.1 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/0.4049, allocations: 12.03 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.759e-05/0.4049, allocations: 4.125 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/0.405, allocations: 38.75 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.466e-05/0.4051, allocations: 24.8 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.4057, allocations: 218.6 kB / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.4059, allocations: 145.1 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.4059, allocations: 8.125 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.4062, allocations: 93.58 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4062, allocations: 0 / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4062, allocations: 0 / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4062, allocations: 0 / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.4065, allocations: 103.9 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.4068, allocations: 224.6 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.4082, allocations: 290.4 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.4084, allocations: 60.77 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.4085, allocations: 23.89 kB / 1.291 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.4086, allocations: 38.5 kB / 1.291 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4086, allocations: 0 / 1.291 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0005808/0.4091, allocations: 201.5 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4092, allocations: 59.41 kB / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.4095, allocations: 304.4 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.4096, allocations: 25.7 kB / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.4097, allocations: 128.5 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.4097, allocations: 15.86 kB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.4098, allocations: 61.67 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.41, allocations: 330.8 kB / 1.292 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.4102, allocations: 159.9 kB / 1.292 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.4105, allocations: 151.9 kB / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.4109, allocations: 297.6 kB / 1.292 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4109, allocations: 3.938 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005814/0.4115, allocations: 404.9 kB / 1.293 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4115, allocations: 4 kB / 1.293 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.4116, allocations: 4.25 kB / 1.293 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4116, allocations: 0 / 1.293 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.4117, allocations: 19.98 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4117, allocations: 0 / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.4118, allocations: 43.62 kB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.4118, allocations: 0 / 1.293 GB, free: 2.68 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.0001245/0.4119, allocations: 137.8 kB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.412, allocations: 23.8 kB / 1.293 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.4124, allocations: 167.4 kB / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4124, allocations: 0 / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4124, allocations: 0 / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4124, allocations: 0 / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.4126, allocations: 212.5 kB / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4126, allocations: 4 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.4127, allocations: 11.94 kB / 1.293 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4127, allocations: 4 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4127, allocations: 7.984 kB / 1.293 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4127, allocations: 0 / 1.293 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4127, allocations: 4 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.413, allocations: 184.8 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.4131, allocations: 31.83 kB / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.4131, allocations: 3.938 kB / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4133, allocations: 11.98 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.4133, allocations: 0 / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.4133, allocations: 7.984 kB / 1.293 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001937/0.4135, allocations: 199.1 kB / 1.294 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4135, allocations: 0 / 1.294 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000428/0.4139, allocations: 111.8 kB / 1.294 GB, free: 1.504 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.001073/0.415, allocations: 0.8892 MB / 1.295 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005113/0.4155, allocations: 311.3 kB / 1.295 GB, free: 272 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4155, allocations: 3.938 kB / 1.295 GB, free: 268 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.4157, allocations: 55.95 kB / 1.295 GB, free: 212 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.4159, allocations: 34.89 kB / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.4192, allocations: 2.704 MB / 1.298 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.4196, allocations: 0.7318 MB / 1.298 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.05e-05/0.4197, allocations: 25.02 kB / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.4198, allocations: 59.41 kB / 1.298 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of SimCode: time 8.11e-07/0.4198, allocations: 0 / 1.298 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.4482, allocations: 5.984 MB / 1.304 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.03, allocations: 4 kB / 1.304 GB, free: 6.746 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.182890905009117] Failed to read output from testmodel.py, exit status != 0: 12.840128176030703 12.213378991 11.806557915 Calling exit ...