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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 113.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.076/1.076, allocations: 175.8 MB / 478.4 MB, free: 8.484 MB / 382.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 69.39 kB / 0.6652 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1891, allocations: 94.54 MB / 0.7575 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002844/0.1919, allocations: 1.43 MB / 0.7589 GB, free: 484 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3639/0.5558, allocations: 0.7872 MB / 0.7597 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.5559, allocations: 1.125 kB / 0.7597 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.57e-05/0.556, allocations: 4.969 kB / 0.7597 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.556, allocations: 5.562 kB / 0.7597 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007314/0.5567, allocations: 167.6 kB / 0.7599 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.5569, allocations: 42.95 kB / 0.7599 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.5569, allocations: 9.453 kB / 0.7599 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.557, allocations: 16.92 kB / 0.7599 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.557, allocations: 21.39 kB / 0.76 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.557, allocations: 6.844 kB / 0.76 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.5574, allocations: 202.1 kB / 0.7602 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.5575, allocations: 11.59 kB / 0.7602 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.5575, allocations: 26.92 kB / 0.7602 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.5578, allocations: 187.2 kB / 0.7604 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.5578, allocations: 0 / 0.7604 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5578, allocations: 0 / 0.7604 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.5578, allocations: 1.594 kB / 0.7604 GB, free: 7.992 MB / 0.5762 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.0004045/0.5582, allocations: 438.7 kB / 0.7608 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5583, allocations: 9.094 kB / 0.7608 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.284e-05/0.5583, allocations: 34.36 kB / 0.7608 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.5583, allocations: 8.141 kB / 0.7608 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.613e-05/0.5584, allocations: 169.8 kB / 0.761 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.5584, allocations: 5.188 kB / 0.761 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.5585, allocations: 11.34 kB / 0.761 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.5586, allocations: 74.09 kB / 0.7611 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5586, allocations: 0.9688 kB / 0.7611 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.5587, allocations: 1.531 kB / 0.7611 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.5587, allocations: 0.5625 kB / 0.7611 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.5588, allocations: 48.36 kB / 0.7611 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.5591, allocations: 282.9 kB / 0.7614 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.5592, allocations: 56.62 kB / 0.7615 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.5593, allocations: 49.38 kB / 0.7615 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.5593, allocations: 0.7188 kB / 0.7615 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.5593, allocations: 34.72 kB / 0.7615 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5593, allocations: 0 / 0.7615 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003817/0.5597, allocations: 185.2 kB / 0.7617 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.5598, allocations: 80.11 kB / 0.7618 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.5598, allocations: 125.6 kB / 0.7619 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.5599, allocations: 27.61 kB / 0.7619 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.5599, allocations: 93.5 kB / 0.762 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.5599, allocations: 9.734 kB / 0.762 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.5599, allocations: 20.55 kB / 0.7621 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.56, allocations: 326.2 kB / 0.7624 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.5601, allocations: 57.16 kB / 0.7624 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-05/0.5602, allocations: 57.34 kB / 0.7625 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.5604, allocations: 196.8 kB / 0.7627 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5604, allocations: 0.8438 kB / 0.7627 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002682/0.5607, allocations: 217.8 kB / 0.7629 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.5607, allocations: 65.48 kB / 0.7629 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5607, allocations: 0.7812 kB / 0.7629 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5607, allocations: 1.781 kB / 0.7629 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.5608, allocations: 6.156 kB / 0.7629 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.5608, allocations: 0 / 0.7629 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.5608, allocations: 11.69 kB / 0.763 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.5608, allocations: 2.125 kB / 0.763 GB, free: 5.957 MB / 0.5762 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.849e-05/0.5609, allocations: 155.8 kB / 0.7631 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.5609, allocations: 8.203 kB / 0.7631 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.561, allocations: 9.719 kB / 0.7631 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.561, allocations: 0.875 kB / 0.7631 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.561, allocations: 3.188 kB / 0.7631 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.561, allocations: 0.75 kB / 0.7631 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.5611, allocations: 175.6 kB / 0.7633 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5611, allocations: 0 / 0.7633 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.5611, allocations: 7.844 kB / 0.7633 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5611, allocations: 0.6562 kB / 0.7633 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5611, allocations: 1.781 kB / 0.7633 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5611, allocations: 1.75 kB / 0.7633 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5611, allocations: 0.625 kB / 0.7633 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.5614, allocations: 256.8 kB / 0.7636 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.5614, allocations: 83.34 kB / 0.7636 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.5614, allocations: 2.109 kB / 0.7636 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.5615, allocations: 5.109 kB / 0.7636 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.5616, allocations: 7.516 kB / 0.7637 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.5616, allocations: 3.594 kB / 0.7637 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.5617, allocations: 101.2 kB / 0.7638 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5617, allocations: 3.938 kB / 0.7638 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003512/0.562, allocations: 58.3 kB / 0.7638 GB, free: 5.234 MB / 0.5762 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.0005543/0.5626, allocations: 0.8327 MB / 0.7646 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.5629, allocations: 238.5 kB / 0.7649 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5629, allocations: 0 / 0.7649 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.563, allocations: 104.1 kB / 0.7649 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.5632, allocations: 3.25 kB / 0.765 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.5652, allocations: 1.757 MB / 0.7667 GB, free: 19.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.5655, allocations: 0.6891 MB / 0.7673 GB, free: 18.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.678e-05/0.5655, allocations: 0 / 0.7673 GB, free: 18.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.5656, allocations: 17.09 kB / 0.7674 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.5656, allocations: 0 / 0.7674 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.5908, allocations: 2.813 MB / 0.7701 GB, free: 18.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.467, allocations: 15.06 kB / 0.7701 GB, free: 18.03 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.07053095009178] Failed to read output from testmodel.py, exit status != 0: 8.534450463019311 8.553144404 7.991045958 Calling exit ...