Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001333/0.001333, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00142/0.00142, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.44/1.44, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.896/2.896, allocations: 0.49 GB / 0.7923 GB, free: 1.301 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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_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.001961/0.001961, allocations: 60.19 kB / 1.149 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.864, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002302/0.8663, allocations: 1.695 MB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.8679, allocations: 1.41 MB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.868, allocations: 8.594 kB / 1.324 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.8683, allocations: 91.28 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.8684, allocations: 68.42 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.869, allocations: 278 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.8691, allocations: 190.4 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.8691, allocations: 11.91 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.8692, allocations: 85.45 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.8693, allocations: 92.31 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.8694, allocations: 7.75 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.8697, allocations: 343 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.8698, allocations: 66.72 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.8699, allocations: 86.44 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.8702, allocations: 388.6 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.8702, allocations: 6.469 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8702, allocations: 4 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.8702, allocations: 0 / 1.326 GB, free: 21.95 MB / 1.061 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.0007214/0.871, allocations: 0.5605 MB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.871, allocations: 14.05 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.487e-05/0.871, allocations: 9.172 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.345e-05/0.871, allocations: 31.66 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.8711, allocations: 29.62 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.8715, allocations: 280.4 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.8716, allocations: 66.34 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.8716, allocations: 9.672 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.8718, allocations: 82.22 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.8718, allocations: 0.5312 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.8719, allocations: 0.9375 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.8719, allocations: 1.25 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.8721, allocations: 111.2 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.8724, allocations: 251.5 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.8738, allocations: 290.1 kB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.8739, allocations: 65.98 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.874, allocations: 104.5 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.8741, allocations: 30.56 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.8741, allocations: 0.5312 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005057/0.8746, allocations: 213.6 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.8746, allocations: 52.03 kB / 1.328 GB, free: 20.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.8748, allocations: 302.8 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.8749, allocations: 26.42 kB / 1.329 GB, free: 20.24 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.8749, allocations: 123.2 kB / 1.329 GB, free: 20.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.8749, allocations: 25.31 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.875, allocations: 55.22 kB / 1.329 GB, free: 20.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.408e-05/0.8751, allocations: 332 kB / 1.329 GB, free: 19.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.8753, allocations: 158.2 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.8755, allocations: 157.2 kB / 1.329 GB, free: 19.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.8759, allocations: 296.7 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8759, allocations: 4 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004899/0.8764, allocations: 408.6 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.8764, allocations: 5.219 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.8764, allocations: 3 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8764, allocations: 3.938 kB / 1.33 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.8765, allocations: 14.62 kB / 1.33 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8765, allocations: 4 kB / 1.33 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.8766, allocations: 36.75 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.8766, allocations: 2.094 kB / 1.33 GB, free: 19.39 MB / 1.061 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 7.443e-05/0.8767, allocations: 133.2 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.8767, allocations: 24.2 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.8771, allocations: 166.9 kB / 1.33 GB, free: 19.19 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8771, allocations: 1.953 kB / 1.33 GB, free: 19.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8771, allocations: 4.062 kB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.8771, allocations: 2.094 kB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.8772, allocations: 241 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8772, allocations: 0 / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.8773, allocations: 14.62 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8773, allocations: 0 / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.8773, allocations: 5.922 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8773, allocations: 1.469 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8773, allocations: 4.594 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.8777, allocations: 180.2 kB / 1.331 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.8777, allocations: 105.9 kB / 1.331 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.8777, allocations: 9.516 kB / 1.331 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.439e-05/0.8778, allocations: 4.5 kB / 1.331 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.8779, allocations: 8.406 kB / 1.331 GB, free: 18.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.8779, allocations: 2.188 kB / 1.331 GB, free: 18.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001807/0.8781, allocations: 194.9 kB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.8781, allocations: 0 / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004133/0.8785, allocations: 121 kB / 1.331 GB, free: 18.62 MB / 1.061 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.0008689/0.8793, allocations: 0.8728 MB / 1.332 GB, free: 17.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004788/0.8798, allocations: 313.2 kB / 1.332 GB, free: 17.85 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8798, allocations: 3.938 kB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.88, allocations: 56.06 kB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.8802, allocations: 48.2 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.8832, allocations: 2.695 MB / 1.335 GB, free: 16.22 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.8834, allocations: 0.7354 MB / 1.336 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.149e-05/0.8835, allocations: 18.14 kB / 1.336 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.8836, allocations: 56.94 kB / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.8836, allocations: 0 / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.9085, allocations: 5.885 MB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/9.279, allocations: 7.094 kB / 1.342 GB, free: 14.8 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.410355305008125] Failed to read output from testmodel.py, exit status != 0: 9.407590269984212 9.424094388 8.550873816 Calling exit ...