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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009504/0.0009504, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003526, allocations: 15.98 kB / 0.8146 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6957/0.6961, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001371/0.6975, allocations: 1.14 MB / 0.9547 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009473/0.6985, allocations: 0.7322 MB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.6985, allocations: 0 / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.303e-05/0.6986, allocations: 0 / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.575e-05/0.6986, allocations: 1.656 kB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.6991, allocations: 125.7 kB / 0.9556 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.544e-05/0.6991, allocations: 23.45 kB / 0.9556 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.829e-05/0.6992, allocations: 11.2 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.6992, allocations: 6.531 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.6993, allocations: 25.8 kB / 0.9556 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.6993, allocations: 2.094 kB / 0.9556 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.6995, allocations: 160.7 kB / 0.9558 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.6996, allocations: 8.5 kB / 0.9558 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.6996, allocations: 31.98 kB / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.6998, allocations: 134.2 kB / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.6998, allocations: 0 / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6998, allocations: 5.312 kB / 0.9559 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.6998, allocations: 0 / 0.9559 GB, free: 6.297 MB / 0.7169 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.0003389/0.7002, allocations: 424.7 kB / 0.9564 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.7002, allocations: 9.25 kB / 0.9564 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.729e-05/0.7002, allocations: 35.75 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.7003, allocations: 10.95 kB / 0.9564 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.441e-05/0.7003, allocations: 181.5 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.7004, allocations: 2.75 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.7004, allocations: 1.312 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.7005, allocations: 80.12 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.7006, allocations: 0 / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.7006, allocations: 1.406 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7006, allocations: 1.5 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.7007, allocations: 59.75 kB / 0.9567 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.701, allocations: 272.7 kB / 0.957 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.7011, allocations: 63.42 kB / 0.957 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.7012, allocations: 0 / 0.957 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.7012, allocations: 32.06 kB / 0.9571 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.7012, allocations: 0 / 0.9571 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003656/0.7016, allocations: 278.2 kB / 0.9573 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.7016, allocations: 85.05 kB / 0.9574 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.959e-05/0.7017, allocations: 123.2 kB / 0.9575 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.7017, allocations: 25.7 kB / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.7017, allocations: 94.78 kB / 0.9576 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.7017, allocations: 9.859 kB / 0.9577 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.7018, allocations: 1.094 kB / 0.9577 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.7018, allocations: 319.9 kB / 0.958 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.7019, allocations: 54.19 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.4e-05/0.702, allocations: 63.77 kB / 0.9581 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.7021, allocations: 114.8 kB / 0.9582 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7021, allocations: 0 / 0.9582 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002393/0.7024, allocations: 224.5 kB / 0.9584 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.7024, allocations: 64.7 kB / 0.9585 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7024, allocations: 3.469 kB / 0.9585 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.7024, allocations: 4 kB / 0.9585 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.7025, allocations: 5.328 kB / 0.9585 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.7025, allocations: 5.312 kB / 0.9585 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.7026, allocations: 14.8 kB / 0.9585 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.7026, allocations: 1.375 kB / 0.9585 GB, free: 3.879 MB / 0.7169 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 7.98e-05/0.7027, allocations: 151.8 kB / 0.9586 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.7027, allocations: 6.594 kB / 0.9586 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.924e-05/0.7027, allocations: 9.25 kB / 0.9587 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7027, allocations: 1.344 kB / 0.9587 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7027, allocations: 3.953 kB / 0.9587 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.7027, allocations: 0 / 0.9587 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.7029, allocations: 171.4 kB / 0.9588 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7029, allocations: 0 / 0.9588 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.7029, allocations: 12.53 kB / 0.9588 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7029, allocations: 0 / 0.9588 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.7029, allocations: 1.281 kB / 0.9588 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7029, allocations: 0 / 0.9588 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7029, allocations: 1.281 kB / 0.9588 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.7032, allocations: 254 kB / 0.9591 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.7032, allocations: 83.02 kB / 0.9592 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.7032, allocations: 5.938 kB / 0.9592 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.7033, allocations: 8.969 kB / 0.9592 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/0.7034, allocations: 8.203 kB / 0.9592 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.7034, allocations: 1.594 kB / 0.9592 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.7035, allocations: 97.7 kB / 0.9593 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7035, allocations: 0 / 0.9593 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000329/0.7038, allocations: 64.12 kB / 0.9593 GB, free: 3.066 MB / 0.7169 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.000534/0.7044, allocations: 0.8325 MB / 0.9601 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.7046, allocations: 246.8 kB / 0.9604 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7046, allocations: 5.594 kB / 0.9604 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.7048, allocations: 104.4 kB / 0.9605 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.7049, allocations: 2.469 kB / 0.9605 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/0.7054, allocations: 401.2 kB / 0.9609 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.7055, allocations: 0.6878 MB / 0.9615 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.39e-05/0.7056, allocations: 0 / 0.9615 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.7056, allocations: 12.81 kB / 0.9616 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/0.7056, allocations: 0 / 0.9616 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.7181, allocations: 2.513 MB / 0.964 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.7183, allocations: 223 kB / 0.9642 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.375, allocations: 0 / 0.9642 GB, free: 15.54 MB / 0.7325 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