Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_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.00143/0.00143, allocations: 99.08 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.002055/0.002055, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.636/2.636, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.642/4.642, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0009454/0.0009458, allocations: 8 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442/1.443, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003452/1.447, allocations: 1.147 MB / 0.982 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002532/1.45, allocations: 0.7224 MB / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/1.45, allocations: 3.938 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/1.45, allocations: 4 kB / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.428e-05/1.45, allocations: 0 / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/1.451, allocations: 123.7 kB / 0.9828 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/1.451, allocations: 23.97 kB / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/1.451, allocations: 0 / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/1.451, allocations: 19.86 kB / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/1.452, allocations: 19.97 kB / 0.9829 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/1.452, allocations: 7.938 kB / 0.9829 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/1.452, allocations: 159.8 kB / 0.9831 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/1.452, allocations: 7.984 kB / 0.9831 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/1.452, allocations: 37.64 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003808/1.453, allocations: 131.8 kB / 0.9832 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.453, allocations: 0 / 0.9832 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.378e-06/1.453, allocations: 0 / 0.9832 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.838e-05/1.453, allocations: 0 / 0.9832 GB, free: 3.844 MB / 0.7325 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.001395/1.454, allocations: 432.7 kB / 0.9836 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001595/1.454, allocations: 8.031 kB / 0.9836 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/1.454, allocations: 38.56 kB / 0.9837 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/1.454, allocations: 0 / 0.9837 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/1.455, allocations: 170.9 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/1.455, allocations: 0 / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/1.455, allocations: 7.953 kB / 0.9838 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/1.455, allocations: 81.59 kB / 0.9839 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/1.455, allocations: 4 kB / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/1.455, allocations: 0 / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.455, allocations: 0 / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/1.456, allocations: 47.97 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007487/1.456, allocations: 276.9 kB / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/1.457, allocations: 66.55 kB / 0.9843 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/1.457, allocations: 3.938 kB / 0.9843 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/1.457, allocations: 34.59 kB / 0.9843 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.714e-06/1.457, allocations: 0 / 0.9843 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0008308/1.458, allocations: 268.4 kB / 0.9846 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.458, allocations: 81.14 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/1.458, allocations: 125.8 kB / 0.9848 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/1.458, allocations: 29.7 kB / 0.9848 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/1.458, allocations: 84.14 kB / 0.9849 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/1.458, allocations: 7.906 kB / 0.9849 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-06/1.458, allocations: 0 / 0.9849 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000309/1.459, allocations: 318.8 kB / 0.9852 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/1.459, allocations: 63.91 kB / 0.9853 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/1.459, allocations: 67.89 kB / 0.9853 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/1.459, allocations: 115.4 kB / 0.9854 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.459, allocations: 0 / 0.9854 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005275/1.46, allocations: 229 kB / 0.9857 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/1.46, allocations: 63.39 kB / 0.9857 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.46, allocations: 4 kB / 0.9857 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/1.46, allocations: 3.938 kB / 0.9857 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/1.46, allocations: 4 kB / 0.9857 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.46, allocations: 3.984 kB / 0.9857 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/1.46, allocations: 11.94 kB / 0.9858 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/1.46, allocations: 0 / 0.9858 GB, free: 0.9453 MB / 0.7325 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 0.0002602/1.461, allocations: 147.5 kB / 0.9859 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/1.461, allocations: 11.86 kB / 0.9859 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/1.461, allocations: 15.89 kB / 0.9859 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.461, allocations: 0 / 0.9859 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.461, allocations: 0 / 0.9859 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.461, allocations: 8.172 kB / 0.9859 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/1.461, allocations: 173.6 kB / 0.9861 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.461, allocations: 0 / 0.9861 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/1.461, allocations: 4 kB / 0.9861 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/1.461, allocations: 7.938 kB / 0.9861 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/1.461, allocations: 0 / 0.9861 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.461, allocations: 4 kB / 0.9861 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.461, allocations: 4 kB / 0.9861 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/1.462, allocations: 241.2 kB / 0.9863 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/1.462, allocations: 81.02 kB / 0.9864 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/1.462, allocations: 11.94 kB / 0.9864 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/1.462, allocations: 4 kB / 0.9864 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/1.463, allocations: 16.02 kB / 0.9865 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/1.463, allocations: 0 / 0.9865 GB, free: 124 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001517/1.463, allocations: 99.64 kB / 0.9865 GB, free: 24 kB / 0.7325 GB Notification: Performance of sort global known variables: time 5.19e-06/1.463, allocations: 0 / 0.9865 GB, free: 24 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008601/1.464, allocations: 63.98 kB / 0.9866 GB, free: 15.96 MB / 0.7481 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.001642/1.465, allocations: 0.835 MB / 0.9874 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006349/1.466, allocations: 246.7 kB / 0.9877 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.466, allocations: 0 / 0.9877 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/1.466, allocations: 107.3 kB / 0.9878 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/1.467, allocations: 12.05 kB / 0.9878 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/1.468, allocations: 386.6 kB / 0.9881 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/1.468, allocations: 0.6887 MB / 0.9888 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.786e-05/1.468, allocations: 7.984 kB / 0.9888 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/1.468, allocations: 11.44 kB / 0.9888 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/1.468, allocations: 0 / 0.9888 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/1.502, allocations: 2.503 MB / 0.9913 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004637/1.502, allocations: 230.1 kB / 0.9915 GB, free: 11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.993/4.496, allocations: 4 kB / 0.9915 GB, free: 11 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat does not exist to compare? outputFormat=mat