Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_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.007638/0.007638, allocations: 99.48 kB / 15.73 MB, free: 6.043 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.001732/0.001732, allocations: 185.6 kB / 16.67 MB, free: 5.977 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9252/0.9252, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.89 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4225, allocations: 80.91 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002227/0.4248, allocations: 1.431 MB / 0.6656 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.4258, allocations: 0.7767 MB / 0.6663 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.4259, allocations: 4 kB / 0.6663 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.384e-05/0.426, allocations: 5.469 kB / 0.6663 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.426, allocations: 3.938 kB / 0.6663 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.4266, allocations: 168.4 kB / 0.6665 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.4267, allocations: 52.16 kB / 0.6665 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.4268, allocations: 8.328 kB / 0.6665 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.4269, allocations: 13.84 kB / 0.6666 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.4269, allocations: 22.34 kB / 0.6666 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.4269, allocations: 2.906 kB / 0.6666 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.4272, allocations: 200.6 kB / 0.6668 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.4273, allocations: 12.11 kB / 0.6668 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.4273, allocations: 24.56 kB / 0.6668 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.4276, allocations: 193 kB / 0.667 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4276, allocations: 0 / 0.667 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4276, allocations: 1.094 kB / 0.667 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.4276, allocations: 0 / 0.667 GB, free: 5.156 MB / 0.4981 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.000425/0.428, allocations: 426.2 kB / 0.6674 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.4281, allocations: 9.375 kB / 0.6674 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.29e-05/0.4281, allocations: 35.98 kB / 0.6674 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.4281, allocations: 7.531 kB / 0.6675 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.292e-05/0.4282, allocations: 171 kB / 0.6676 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.4282, allocations: 9.375 kB / 0.6676 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.4282, allocations: 6.625 kB / 0.6676 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.4284, allocations: 86.38 kB / 0.6677 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4284, allocations: 0 / 0.6677 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.4285, allocations: 1.406 kB / 0.6677 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4285, allocations: 0 / 0.6677 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.4286, allocations: 44.81 kB / 0.6678 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.4289, allocations: 279.8 kB / 0.668 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.429, allocations: 60.48 kB / 0.6681 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.9e-05/0.4291, allocations: 46.62 kB / 0.6681 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.4291, allocations: 1.062 kB / 0.6681 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.4291, allocations: 31.84 kB / 0.6682 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4291, allocations: 0 / 0.6682 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003552/0.4295, allocations: 188.9 kB / 0.6683 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.4295, allocations: 78.61 kB / 0.6684 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.4296, allocations: 123 kB / 0.6685 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.4296, allocations: 26.77 kB / 0.6686 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.4297, allocations: 90.41 kB / 0.6686 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.4297, allocations: 6.531 kB / 0.6687 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.4297, allocations: 24.66 kB / 0.6687 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.4298, allocations: 324.2 kB / 0.669 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.4299, allocations: 60.69 kB / 0.669 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.263e-05/0.4299, allocations: 51.78 kB / 0.6691 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.4301, allocations: 201.5 kB / 0.6693 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4301, allocations: 1.125 kB / 0.6693 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000236/0.4304, allocations: 220.4 kB / 0.6695 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.4304, allocations: 60.22 kB / 0.6696 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.4304, allocations: 0 / 0.6696 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4305, allocations: 1.531 kB / 0.6696 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.354e-05/0.4305, allocations: 10.11 kB / 0.6696 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4305, allocations: 3.938 kB / 0.6696 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.4306, allocations: 9.562 kB / 0.6696 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.4306, allocations: 6.375 kB / 0.6696 GB, free: 2.738 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.4307, allocations: 150.9 kB / 0.6697 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.4307, allocations: 10.59 kB / 0.6697 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.4307, allocations: 9.672 kB / 0.6697 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.4307, allocations: 1.5 kB / 0.6697 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4307, allocations: 7.984 kB / 0.6698 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4308, allocations: 0 / 0.6698 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.4309, allocations: 174.5 kB / 0.6699 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4309, allocations: 1.531 kB / 0.6699 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.4309, allocations: 6.141 kB / 0.6699 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4309, allocations: 0 / 0.6699 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4309, allocations: 6.75 kB / 0.6699 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4309, allocations: 0 / 0.6699 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4309, allocations: 0 / 0.6699 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.4312, allocations: 247.1 kB / 0.6702 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.4312, allocations: 90.61 kB / 0.6703 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.4312, allocations: 1.344 kB / 0.6703 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.4313, allocations: 8.016 kB / 0.6703 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.4314, allocations: 3.469 kB / 0.6703 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.4314, allocations: 0.9375 kB / 0.6703 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.4315, allocations: 103.3 kB / 0.6704 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4315, allocations: 32 / 0.6704 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003203/0.4318, allocations: 60.08 kB / 0.6704 GB, free: 1.922 MB / 0.4981 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 (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.0005153/0.4323, allocations: 0.8199 MB / 0.6712 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.4326, allocations: 240 kB / 0.6715 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4326, allocations: 4.031 kB / 0.6715 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.4327, allocations: 103.4 kB / 0.6716 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.433, allocations: 6.734 kB / 0.6716 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.4346, allocations: 1.763 MB / 0.6733 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.4348, allocations: 0.6867 MB / 0.674 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.705e-05/0.4348, allocations: 0 / 0.674 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.4349, allocations: 16.66 kB / 0.674 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.4349, allocations: 4 kB / 0.674 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.4562, allocations: 2.846 MB / 0.6768 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/8.039, allocations: 9.844 kB / 0.6768 GB, free: 13.24 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)