Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001425/0.001425, 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.001583/0.001583, allocations: 217.4 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.921/2.921, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001862/0.001862, allocations: 65.25 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2918, allocations: 176.1 MB / 1.327 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003104/0.2949, allocations: 2.193 MB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.2965, allocations: 1.098 MB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.381e-05/0.2966, allocations: 7.938 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.23e-05/0.2966, allocations: 27.66 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.2969, allocations: 83.22 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.2973, allocations: 191.9 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.2976, allocations: 294.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2977, allocations: 48.84 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2979, allocations: 119.5 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.2981, allocations: 139.4 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.2981, allocations: 19.94 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.2985, allocations: 291.7 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.2986, allocations: 51.83 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.2987, allocations: 119.2 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.2991, allocations: 338.6 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2991, allocations: 0 / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2991, allocations: 3.938 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2991, allocations: 0 / 1.332 GB, free: 12.92 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001029/0.3001, allocations: 0.5554 MB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.3001, allocations: 16.03 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.492e-05/0.3002, allocations: 4.469 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.3002, allocations: 50.67 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.3004, allocations: 36.75 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.3007, allocations: 225.4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.3007, allocations: 20.64 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.3008, allocations: 16.36 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.3013, allocations: 228.5 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.3013, allocations: 0 / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.3013, allocations: 8 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.3013, allocations: 4 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.302, allocations: 199.7 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3031, allocations: 0.9102 MB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.3038, allocations: 233.1 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.3042, allocations: 101.6 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3042, allocations: 8 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3042, allocations: 34.5 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.3042, allocations: 0 / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.001116/0.3053, allocations: 337.5 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.3054, allocations: 85.09 kB / 1.335 GB, free: 9.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.3056, allocations: 264.2 kB / 1.335 GB, free: 9.406 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.3057, allocations: 29.7 kB / 1.335 GB, free: 9.371 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3058, allocations: 156.3 kB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.3058, allocations: 63.52 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.3059, allocations: 41.7 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.306, allocations: 334.8 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.3063, allocations: 87.92 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.3067, allocations: 147.5 kB / 1.336 GB, free: 8.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006584/0.3074, allocations: 241.7 kB / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3074, allocations: 7.938 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008295/0.3082, allocations: 297.8 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3082, allocations: 14.38 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3082, allocations: 0 / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3082, allocations: 4 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.3085, allocations: 59.89 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3085, allocations: 7.984 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.3088, allocations: 35.86 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3088, allocations: 8 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001202/0.3089, allocations: 142.2 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.309, allocations: 31.81 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008241/0.3098, allocations: 291.3 kB / 1.337 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3098, allocations: 0 / 1.337 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3098, allocations: 0 / 1.337 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3099, allocations: 11.92 kB / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.3102, allocations: 260.5 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3102, allocations: 0 / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.3105, allocations: 55.95 kB / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3105, allocations: 4 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3105, allocations: 0 / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3105, allocations: 4 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3105, allocations: 0 / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008808/0.3114, allocations: 451.8 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.3114, allocations: 23.8 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.3115, allocations: 8 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.3117, allocations: 28.23 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.3118, allocations: 23.97 kB / 1.338 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3118, allocations: 8 kB / 1.338 GB, free: 6.438 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001857/0.312, allocations: 195 kB / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.312, allocations: 0 / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003501/0.3123, allocations: 59.89 kB / 1.338 GB, free: 6.191 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001319/0.3137, allocations: 0.9902 MB / 1.339 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007468/0.3144, allocations: 219.7 kB / 1.339 GB, free: 4.961 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3144, allocations: 3.938 kB / 1.339 GB, free: 4.957 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.3147, allocations: 120.2 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.3153, allocations: 69.36 kB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.3194, allocations: 2.709 MB / 1.342 GB, free: 1.934 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.3198, allocations: 0.7519 MB / 1.343 GB, free: 1.156 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.3199, allocations: 30.28 kB / 1.343 GB, free: 1.129 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.3201, allocations: 83.41 kB / 1.343 GB, free: 1.047 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3201, allocations: 0 / 1.343 GB, free: 1.047 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.348, allocations: 6.838 MB / 1.349 GB, free: 10.44 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.79, allocations: 9.625 kB / 1.349 GB, free: 10.43 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.909255798032973] Failed to read output from testmodel.py, exit status != 0: 10.959489177039359 10.974746138 10.67284982 Calling exit ...