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.001343/0.001343, 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.001709/0.001709, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.403/3.403, allocations: 0.49 GB / 0.7959 GB, free: 33.37 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.002209/0.002209, allocations: 63.94 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3728, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002993/0.3758, allocations: 1.71 MB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002425/0.3782, allocations: 1.418 MB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3783, allocations: 7.938 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.3788, allocations: 83.58 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.3789, allocations: 75.53 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.3798, allocations: 275.2 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.3801, allocations: 187.2 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.3801, allocations: 5.688 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.3803, allocations: 91.62 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.3805, allocations: 87.64 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3805, allocations: 8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.3812, allocations: 359.4 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.3813, allocations: 67.73 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3814, allocations: 95.47 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.382, allocations: 394.5 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.382, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.382, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.382, allocations: 0 / 1.331 GB, free: 13.12 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.000889/0.3829, allocations: 496.6 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3829, allocations: 12.03 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.775e-05/0.383, allocations: 4.125 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.383, allocations: 38.73 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.3831, allocations: 24.75 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.3835, allocations: 222.6 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.3837, allocations: 141 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3837, allocations: 8.125 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.3839, allocations: 85.64 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3839, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3839, allocations: 4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3839, allocations: 4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.3842, allocations: 107.9 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.3845, allocations: 220.6 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.3859, allocations: 294.3 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.386, allocations: 64.77 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.3861, allocations: 27.88 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3861, allocations: 30.56 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3861, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0005113/0.3867, allocations: 205.5 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3867, allocations: 59.39 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.387, allocations: 308.3 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.387, allocations: 25.7 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.3871, allocations: 116.6 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3872, allocations: 23.78 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.3872, allocations: 61.69 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3874, allocations: 334.8 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.3876, allocations: 151.9 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.3879, allocations: 155.7 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.3883, allocations: 305.4 kB / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3883, allocations: 0 / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000591/0.3889, allocations: 393.1 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3889, allocations: 8 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.3889, allocations: 4 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.389, allocations: 4 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3891, allocations: 23.86 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3891, allocations: 0 / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.3892, allocations: 39.62 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3892, allocations: 0 / 1.335 GB, free: 8.965 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: 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.0001264/0.3893, allocations: 130.3 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.3894, allocations: 23.8 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003996/0.3898, allocations: 171.5 kB / 1.336 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3898, allocations: 0 / 1.336 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3898, allocations: 3.938 kB / 1.336 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3898, allocations: 3.938 kB / 1.336 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.39, allocations: 212.5 kB / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.39, allocations: 0 / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.734e-05/0.3901, allocations: 19.98 kB / 1.336 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3901, allocations: 320 / 1.336 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3901, allocations: 4 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3901, allocations: 4 kB / 1.336 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3901, allocations: 0 / 1.336 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.3905, allocations: 184.8 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.3905, allocations: 27.84 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.3906, allocations: 3.984 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.3907, allocations: 4 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.3907, allocations: 15.92 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.3907, allocations: 0 / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001941/0.3909, allocations: 195.1 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3909, allocations: 0 / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004269/0.3913, allocations: 119.8 kB / 1.336 GB, free: 7.793 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: 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.001079/0.3924, allocations: 0.8813 MB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005294/0.3929, allocations: 315.2 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3929, allocations: 0 / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3931, allocations: 59.91 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3934, allocations: 32.89 kB / 1.338 GB, free: 6.465 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.3968, allocations: 2.708 MB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.3971, allocations: 0.7357 MB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.3972, allocations: 25.33 kB / 1.341 GB, free: 2.887 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3973, allocations: 59.41 kB / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of SimCode: time 7.62e-07/0.3973, allocations: 0 / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.4254, allocations: 5.982 MB / 1.347 GB, free: 13.05 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.46, allocations: 4.062 kB / 1.347 GB, free: 13.04 MB / 1.045 GB " [Timeout remaining time 287] (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: 19.52620478096651] Failed to read output from testmodel.py, exit status != 0: 12.625846710987389 12.653337719 12.266048087 Calling exit ...