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.0008245/0.0008245, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008419/0.0008419, allocations: 168.7 kB / 15.95 MB, free: 204 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.331/1.331, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.428/2.428, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003133, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.576, allocations: 146.8 MB / 0.9812 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001423/0.5775, allocations: 1.138 MB / 0.9823 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.5786, allocations: 0.7401 MB / 0.983 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.5787, allocations: 0 / 0.983 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.5787, allocations: 0 / 0.983 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.182e-05/0.5788, allocations: 3.938 kB / 0.983 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.5793, allocations: 131.8 kB / 0.9831 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.5793, allocations: 31.91 kB / 0.9832 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.5794, allocations: 7.938 kB / 0.9832 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.415e-05/0.5794, allocations: 15.98 kB / 0.9832 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.5795, allocations: 15.92 kB / 0.9832 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.5795, allocations: 4 kB / 0.9832 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.5798, allocations: 179.7 kB / 0.9834 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.5798, allocations: 11.98 kB / 0.9834 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.5799, allocations: 37.64 kB / 0.9834 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.5801, allocations: 127.8 kB / 0.9835 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5801, allocations: 0 / 0.9835 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5801, allocations: 0 / 0.9835 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.5801, allocations: 4 kB / 0.9835 GB, free: 3.816 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.0004218/0.5805, allocations: 424.8 kB / 0.9839 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.5806, allocations: 8.031 kB / 0.9839 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.5806, allocations: 30.56 kB / 0.984 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.5806, allocations: 8 kB / 0.984 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.5808, allocations: 174.9 kB / 0.9842 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.5808, allocations: 0 / 0.9842 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.5808, allocations: 11.94 kB / 0.9842 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.581, allocations: 77.59 kB / 0.9842 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.581, allocations: 0 / 0.9842 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.581, allocations: 4 kB / 0.9842 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.581, allocations: 0 / 0.9842 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.5811, allocations: 51.97 kB / 0.9843 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.5815, allocations: 276.9 kB / 0.9846 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.5816, allocations: 58.55 kB / 0.9846 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.5817, allocations: 64.78 kB / 0.9847 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.5817, allocations: 0 / 0.9847 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.5818, allocations: 30.56 kB / 0.9847 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.5818, allocations: 0 / 0.9847 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003611/0.5821, allocations: 191.2 kB / 0.9849 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.5822, allocations: 85.14 kB / 0.985 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.5823, allocations: 125.8 kB / 0.9851 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.5823, allocations: 25.7 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.5824, allocations: 84.14 kB / 0.9852 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.5824, allocations: 11.84 kB / 0.9852 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.5824, allocations: 0 / 0.9852 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.5825, allocations: 318.8 kB / 0.9855 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.5826, allocations: 59.91 kB / 0.9856 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.943e-05/0.5827, allocations: 63.97 kB / 0.9856 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.5828, allocations: 119.4 kB / 0.9857 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5829, allocations: 3.953 kB / 0.9857 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002924/0.5831, allocations: 220.9 kB / 0.986 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.5832, allocations: 59.41 kB / 0.986 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.5832, allocations: 0 / 0.986 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.5832, allocations: 4 kB / 0.986 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.5833, allocations: 7.984 kB / 0.986 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.5833, allocations: 0 / 0.986 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.5833, allocations: 11.94 kB / 0.986 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5834, allocations: 4 kB / 0.986 GB, free: 0.9688 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.0001044/0.5835, allocations: 147.5 kB / 0.9862 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.5835, allocations: 7.859 kB / 0.9862 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.5835, allocations: 11.91 kB / 0.9862 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5835, allocations: 3.938 kB / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5836, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.5836, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.5837, allocations: 169.6 kB / 0.9864 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5837, allocations: 8.062 kB / 0.9864 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.5838, allocations: 11.88 kB / 0.9864 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.5838, allocations: 4 kB / 0.9864 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.5838, allocations: 0 / 0.9864 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5838, allocations: 0 / 0.9864 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5838, allocations: 0 / 0.9864 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.5841, allocations: 257.4 kB / 0.9866 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.5841, allocations: 81.02 kB / 0.9867 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.5842, allocations: 7.938 kB / 0.9867 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.5842, allocations: 11.98 kB / 0.9867 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.5843, allocations: 8.031 kB / 0.9867 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.5843, allocations: 4 kB / 0.9867 GB, free: 144 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.147e-05/0.5844, allocations: 99.69 kB / 0.9868 GB, free: 44 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.262e-06/0.5844, allocations: 0 / 0.9868 GB, free: 44 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003205/0.5847, allocations: 63.98 kB / 0.9869 GB, free: 15.98 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.0006534/0.5854, allocations: 0.8311 MB / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002966/0.5857, allocations: 238.7 kB / 0.9879 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5857, allocations: 0 / 0.9879 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.5858, allocations: 115.2 kB / 0.988 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.5861, allocations: 8.359 kB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.5871, allocations: 0.7251 MB / 0.9888 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.5873, allocations: 0.6965 MB / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.374e-05/0.5874, allocations: 0 / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.5874, allocations: 11.44 kB / 0.9894 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.5874, allocations: 0 / 0.9894 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.599, allocations: 2.555 MB / 0.9919 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.5992, allocations: 227.8 kB / 0.9922 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.271, allocations: 0 / 0.9922 GB, free: 10.64 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