Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_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.001375/0.001375, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001608/0.001608, allocations: 199 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6632/0.6632, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 64.59 kB / 0.5014 GB, free: 8.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1221, allocations: 80.2 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002285/0.1244, allocations: 1.477 MB / 0.5811 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1255, allocations: 0.7879 MB / 0.5819 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.1255, allocations: 0 / 0.5819 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.497e-05/0.1256, allocations: 3.984 kB / 0.5819 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.718e-05/0.1256, allocations: 3.938 kB / 0.5819 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.1262, allocations: 150.5 kB / 0.5821 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.814e-05/0.1263, allocations: 63.83 kB / 0.5821 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.966e-05/0.1263, allocations: 288 / 0.5821 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.1264, allocations: 19.98 kB / 0.5821 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.1264, allocations: 19.92 kB / 0.5822 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1264, allocations: 4 kB / 0.5822 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.1267, allocations: 195.7 kB / 0.5823 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.1267, allocations: 11.98 kB / 0.5824 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.1268, allocations: 19.88 kB / 0.5824 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.127, allocations: 191.6 kB / 0.5826 GB, free: 6.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.127, allocations: 0 / 0.5826 GB, free: 6.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.127, allocations: 3.938 kB / 0.5826 GB, free: 6.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.127, allocations: 3.938 kB / 0.5826 GB, free: 6.051 MB / 494.1 MB 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.0003927/0.1274, allocations: 438.7 kB / 0.583 GB, free: 5.562 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1274, allocations: 8.031 kB / 0.583 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.1275, allocations: 34.75 kB / 0.583 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.1275, allocations: 4.844 kB / 0.583 GB, free: 5.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.1276, allocations: 168.4 kB / 0.5832 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1276, allocations: 384 / 0.5832 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1276, allocations: 7.938 kB / 0.5832 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1278, allocations: 77.64 kB / 0.5833 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.1278, allocations: 0 / 0.5833 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1278, allocations: 8 kB / 0.5833 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1278, allocations: 0 / 0.5833 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1279, allocations: 47.91 kB / 0.5833 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.1282, allocations: 276.8 kB / 0.5836 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.1284, allocations: 62.55 kB / 0.5837 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.1284, allocations: 52.91 kB / 0.5837 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1285, allocations: 0 / 0.5837 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1285, allocations: 30.56 kB / 0.5837 GB, free: 4.676 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1285, allocations: 0 / 0.5837 GB, free: 4.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003243/0.1288, allocations: 179.3 kB / 0.5839 GB, free: 4.488 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1289, allocations: 85.09 kB / 0.584 GB, free: 4.387 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.208e-05/0.129, allocations: 129.2 kB / 0.5841 GB, free: 4.254 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.129, allocations: 33.73 kB / 0.5841 GB, free: 4.215 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.129, allocations: 92.03 kB / 0.5842 GB, free: 4.121 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.129, allocations: 11.84 kB / 0.5842 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1291, allocations: 17.72 kB / 0.5843 GB, free: 4.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.1292, allocations: 322.8 kB / 0.5846 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.1293, allocations: 55.97 kB / 0.5846 GB, free: 3.707 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.208e-05/0.1293, allocations: 60.02 kB / 0.5847 GB, free: 3.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1296, allocations: 205.8 kB / 0.5849 GB, free: 3.426 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1296, allocations: 0 / 0.5849 GB, free: 3.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002474/0.1298, allocations: 213 kB / 0.5851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.1299, allocations: 63.41 kB / 0.5851 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1299, allocations: 3.984 kB / 0.5851 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.1299, allocations: 0 / 0.5851 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.1299, allocations: 4 kB / 0.5851 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1299, allocations: 0 / 0.5851 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.13, allocations: 7.906 kB / 0.5851 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.13, allocations: 4 kB / 0.5852 GB, free: 3.105 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.763e-05/0.1301, allocations: 156.1 kB / 0.5853 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.1301, allocations: 4 kB / 0.5853 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.633e-05/0.1302, allocations: 3.906 kB / 0.5853 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.1302, allocations: 0 / 0.5853 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1302, allocations: 3.984 kB / 0.5853 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1302, allocations: 0 / 0.5853 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.1303, allocations: 177.6 kB / 0.5855 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1303, allocations: 3.984 kB / 0.5855 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.1304, allocations: 4 kB / 0.5855 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1304, allocations: 7.938 kB / 0.5855 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1304, allocations: 0 / 0.5855 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1304, allocations: 0 / 0.5855 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1304, allocations: 0 / 0.5855 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1306, allocations: 253 kB / 0.5857 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.1307, allocations: 81.05 kB / 0.5858 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1307, allocations: 7.984 kB / 0.5858 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.1308, allocations: 8.031 kB / 0.5858 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.1309, allocations: 8.234 kB / 0.5858 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1309, allocations: 7.984 kB / 0.5858 GB, free: 2.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.1309, allocations: 95.2 kB / 0.5859 GB, free: 2.191 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1309, allocations: 4 kB / 0.5859 GB, free: 2.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1312, allocations: 55.94 kB / 0.586 GB, free: 2.133 MB / 494.1 MB 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 (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.0005712/0.1318, allocations: 0.835 MB / 0.5868 GB, free: 1.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.1321, allocations: 242.7 kB / 0.587 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1321, allocations: 0 / 0.587 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.1322, allocations: 99.38 kB / 0.5871 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.1324, allocations: 11.94 kB / 0.5871 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1339, allocations: 1.76 MB / 0.5889 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.1341, allocations: 0.6846 MB / 0.5895 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.257e-05/0.1341, allocations: 0 / 0.5895 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.1342, allocations: 19.44 kB / 0.5896 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1342, allocations: 0 / 0.5896 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/0.2694, allocations: 2.64 MB / 0.5921 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.2697, allocations: 227.1 kB / 0.5923 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.966, allocations: 0 / 0.5923 GB, free: 11.61 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)