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.001386/0.001386, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001344/0.001344, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.254/1.254, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] 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 0.941/0.941, allocations: 175.7 MB / 480.1 MB, free: 2.762 MB / 366.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.001721/0.001721, allocations: 69.41 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1527, allocations: 94.52 MB / 0.7601 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00232/0.155, allocations: 1.448 MB / 0.7615 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1561, allocations: 0.7985 MB / 0.7623 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.1562, allocations: 4 kB / 0.7623 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.73e-05/0.1562, allocations: 3.938 kB / 0.7623 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.1563, allocations: 7.938 kB / 0.7623 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.1568, allocations: 175.2 kB / 0.7625 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.1569, allocations: 39.98 kB / 0.7625 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.223e-05/0.157, allocations: 3.984 kB / 0.7625 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.318e-05/0.157, allocations: 19.94 kB / 0.7625 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.1571, allocations: 23.91 kB / 0.7625 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1571, allocations: 4 kB / 0.7625 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.1574, allocations: 211.7 kB / 0.7627 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.1574, allocations: 7.938 kB / 0.7628 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.1575, allocations: 23.86 kB / 0.7628 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1578, allocations: 187.5 kB / 0.763 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1578, allocations: 0 / 0.763 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1578, allocations: 0 / 0.763 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1578, allocations: 0 / 0.763 GB, free: 13.84 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.0004739/0.1582, allocations: 442.4 kB / 0.7634 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1583, allocations: 12.03 kB / 0.7634 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.1583, allocations: 30.75 kB / 0.7634 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.1583, allocations: 8.891 kB / 0.7634 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.1585, allocations: 164.4 kB / 0.7636 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1585, allocations: 12.12 kB / 0.7636 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-06/0.1585, allocations: 0 / 0.7636 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1587, allocations: 77.59 kB / 0.7637 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.1587, allocations: 4 kB / 0.7637 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1587, allocations: 7.984 kB / 0.7637 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-06/0.1587, allocations: 0 / 0.7637 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1588, allocations: 43.97 kB / 0.7637 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.1592, allocations: 284.8 kB / 0.764 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.1593, allocations: 58.53 kB / 0.764 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.052e-05/0.1593, allocations: 40.88 kB / 0.7641 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.1593, allocations: 4 kB / 0.7641 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1594, allocations: 34.56 kB / 0.7641 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1594, allocations: 0 / 0.7641 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003635/0.1597, allocations: 183.3 kB / 0.7643 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.1598, allocations: 85.05 kB / 0.7644 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1599, allocations: 125.8 kB / 0.7645 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1599, allocations: 25.73 kB / 0.7645 GB, free: 12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.16, allocations: 92.14 kB / 0.7646 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.16, allocations: 15.81 kB / 0.7646 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.16, allocations: 21.72 kB / 0.7646 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1601, allocations: 322.8 kB / 0.765 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.721e-05/0.1602, allocations: 59.89 kB / 0.765 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/0.1603, allocations: 55.97 kB / 0.7651 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.1606, allocations: 197.9 kB / 0.7653 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1606, allocations: 0 / 0.7653 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000274/0.1608, allocations: 217 kB / 0.7655 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.1609, allocations: 65.42 kB / 0.7655 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1609, allocations: 0 / 0.7655 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1609, allocations: 0 / 0.7655 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.1609, allocations: 4.062 kB / 0.7655 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.161, allocations: 7.938 kB / 0.7655 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.161, allocations: 7.984 kB / 0.7655 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.161, allocations: 7.938 kB / 0.7656 GB, free: 10.88 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 0.0001046/0.1611, allocations: 151.5 kB / 0.7657 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1611, allocations: 3.953 kB / 0.7657 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.1612, allocations: 11.91 kB / 0.7657 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1612, allocations: 0 / 0.7657 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1612, allocations: 0 / 0.7657 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1612, allocations: 0 / 0.7657 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1613, allocations: 173.6 kB / 0.7659 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1613, allocations: 0 / 0.7659 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.816e-05/0.1614, allocations: 4 kB / 0.7659 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1614, allocations: 4 kB / 0.7659 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1614, allocations: 7.984 kB / 0.7659 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1614, allocations: 0 / 0.7659 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1614, allocations: 0 / 0.7659 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1617, allocations: 245.1 kB / 0.7661 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.1617, allocations: 85.06 kB / 0.7662 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1617, allocations: 0 / 0.7662 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.1618, allocations: 16.02 kB / 0.7662 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.1619, allocations: 4 kB / 0.7662 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1619, allocations: 0 / 0.7662 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.735e-05/0.1619, allocations: 103.6 kB / 0.7663 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1619, allocations: 0 / 0.7663 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002845/0.1622, allocations: 67.8 kB / 0.7664 GB, free: 9.902 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.0006914/0.1629, allocations: 0.8313 MB / 0.7672 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.1632, allocations: 238.7 kB / 0.7674 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1632, allocations: 0 / 0.7674 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1633, allocations: 103.4 kB / 0.7675 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.1635, allocations: 0 / 0.7675 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1653, allocations: 1.767 MB / 0.7693 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1656, allocations: 0.6846 MB / 0.7699 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.341e-05/0.1656, allocations: 0 / 0.7699 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.1656, allocations: 11.44 kB / 0.7699 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1656, allocations: 4 kB / 0.7699 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1906, allocations: 2.786 MB / 0.7727 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/7.115, allocations: 6 kB / 0.7727 GB, free: 3.387 MB / 0.5762 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.406813259003684]