Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.08/2.08, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 177.3 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.0008361, allocations: 98.8 kB / 0.9346 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 10.88 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.241, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1652/0.4062, allocations: 150.7 MB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.4065, allocations: 91.94 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00924/0.4157, allocations: 3.266 MB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4157, allocations: 0 / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.4158, allocations: 0 / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003995/0.4162, allocations: 442.5 kB / 1.374 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4162, allocations: 12.03 kB / 1.374 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.4163, allocations: 34.55 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.4163, allocations: 7.906 kB / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.4164, allocations: 163 kB / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.4164, allocations: 8 kB / 1.374 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.4164, allocations: 4 kB / 1.374 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.4166, allocations: 85.59 kB / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4166, allocations: 0 / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4167, allocations: 0 / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.4167, allocations: 0 / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.4168, allocations: 51.91 kB / 1.374 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.4172, allocations: 288.8 kB / 1.374 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.4173, allocations: 62.48 kB / 1.375 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.4173, allocations: 0 / 1.375 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.4173, allocations: 30.56 kB / 1.375 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.4173, allocations: 0 / 1.375 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0004185/0.4177, allocations: 272.5 kB / 1.375 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4178, allocations: 81.11 kB / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/0.4179, allocations: 116.9 kB / 1.375 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.4179, allocations: 29.7 kB / 1.375 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.418, allocations: 95.97 kB / 1.375 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.418, allocations: 11.89 kB / 1.375 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.418, allocations: 4.031 kB / 1.375 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.4181, allocations: 314.8 kB / 1.375 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.4182, allocations: 67.83 kB / 1.376 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.283e-05/0.4183, allocations: 53.09 kB / 1.376 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.4184, allocations: 119.4 kB / 1.376 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4184, allocations: 0 / 1.376 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002663/0.4187, allocations: 217 kB / 1.376 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.4188, allocations: 59.41 kB / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4188, allocations: 0 / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.4188, allocations: 3.984 kB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.4189, allocations: 4 kB / 1.376 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4189, allocations: 0 / 1.376 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.4189, allocations: 11.91 kB / 1.376 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.4189, allocations: 11.95 kB / 1.376 GB, free: 5.008 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.249e-05/0.419, allocations: 147.5 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.4191, allocations: 0 / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.4191, allocations: 12.14 kB / 1.376 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.4191, allocations: 3.938 kB / 1.376 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.4191, allocations: 3.984 kB / 1.376 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4191, allocations: 3.984 kB / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.4193, allocations: 169.6 kB / 1.376 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4193, allocations: 3.984 kB / 1.376 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.4193, allocations: 8 kB / 1.376 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4193, allocations: 0 / 1.376 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.4193, allocations: 4 kB / 1.376 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4193, allocations: 0 / 1.376 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4194, allocations: 4.062 kB / 1.376 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.4196, allocations: 249.1 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.4197, allocations: 89.05 kB / 1.377 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.4197, allocations: 4 kB / 1.377 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.4198, allocations: 15.92 kB / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.4198, allocations: 0 / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.4198, allocations: 7.984 kB / 1.377 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.844e-05/0.4199, allocations: 99.2 kB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.282e-06/0.4199, allocations: 0 / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002942/0.4202, allocations: 71.88 kB / 1.377 GB, free: 4.016 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006197/0.4208, allocations: 0.8465 MB / 1.378 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.4211, allocations: 242.8 kB / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4211, allocations: 0 / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.4212, allocations: 111.3 kB / 1.378 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.4214, allocations: 6.547 kB / 1.378 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.4219, allocations: 414.5 kB / 1.378 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.4221, allocations: 0.6887 MB / 1.379 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.338e-05/0.4221, allocations: 0 / 1.379 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.4222, allocations: 15.42 kB / 1.379 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.4222, allocations: 0 / 1.379 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.4373, allocations: 2.443 MB / 1.381 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.4376, allocations: 217.1 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/1.987, allocations: 0 / 1.382 GB, free: 15.05 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat does not exist to compare? outputFormat=mat