Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.001507/0.001507, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001446/0.001446, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.297 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.9724/0.9724, allocations: 175.7 MB / 480.1 MB, free: 2.82 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.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 65.22 kB / 0.6678 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1604, allocations: 94.54 MB / 0.7601 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001794/0.1622, allocations: 0.5891 MB / 0.7607 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1639, allocations: 1.27 MB / 0.7619 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.397e-05/0.1639, allocations: 0 / 0.7619 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.071e-05/0.1639, allocations: 3.938 kB / 0.7619 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-06/0.1639, allocations: 0 / 0.7619 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.1643, allocations: 63.75 kB / 0.762 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.082e-05/0.1643, allocations: 4 kB / 0.762 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.1643, allocations: 4 kB / 0.762 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.39e-05/0.1644, allocations: 0 / 0.762 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.1644, allocations: 8 kB / 0.762 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.1644, allocations: 0 / 0.762 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.1646, allocations: 95.88 kB / 0.7621 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-06/0.1647, allocations: 4 kB / 0.7621 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.1647, allocations: 0 / 0.7621 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.1648, allocations: 55.81 kB / 0.7622 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1648, allocations: 0 / 0.7622 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1648, allocations: 0 / 0.7622 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.1648, allocations: 4 kB / 0.7622 GB, free: 14.67 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003491/0.1652, allocations: 331.4 kB / 0.7625 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1652, allocations: 8.031 kB / 0.7625 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.1652, allocations: 30.75 kB / 0.7625 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.857e-05/0.1653, allocations: 4.875 kB / 0.7625 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1654, allocations: 160.4 kB / 0.7627 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.1654, allocations: 384 / 0.7627 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-06/0.1654, allocations: 4.375 kB / 0.7627 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.1655, allocations: 33.81 kB / 0.7627 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1655, allocations: 4 kB / 0.7627 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.1655, allocations: 0 / 0.7627 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1655, allocations: 3.984 kB / 0.7627 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.221e-05/0.1655, allocations: 7.938 kB / 0.7627 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.1656, allocations: 145.7 kB / 0.7629 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.718e-05/0.1657, allocations: 14.58 kB / 0.7629 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.1657, allocations: 8.953 kB / 0.7629 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000584/0.1663, allocations: 0.5622 MB / 0.7634 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1663, allocations: 42.5 kB / 0.7635 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1663, allocations: 0 / 0.7635 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.1664, allocations: 41.62 kB / 0.7635 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.1665, allocations: 51.41 kB / 0.7636 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.046e-05/0.1665, allocations: 89.98 kB / 0.7637 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1665, allocations: 29.7 kB / 0.7637 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.1666, allocations: 80.14 kB / 0.7638 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1666, allocations: 7.891 kB / 0.7638 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.1666, allocations: 17.72 kB / 0.7638 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1668, allocations: 310.8 kB / 0.7641 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.1668, allocations: 0 / 0.7641 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.1668, allocations: 0 / 0.7641 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/0.1668, allocations: 12.92 kB / 0.7641 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1668, allocations: 0 / 0.7641 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.719e-05/0.1669, allocations: 41.62 kB / 0.7641 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1669, allocations: 7.938 kB / 0.7641 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1669, allocations: 0 / 0.7641 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1669, allocations: 0 / 0.7641 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.813e-05/0.167, allocations: 4 kB / 0.7641 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.167, allocations: 0 / 0.7641 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.033e-05/0.167, allocations: 0 / 0.7641 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.167, allocations: 0 / 0.7641 GB, free: 12.28 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.789e-05/0.1671, allocations: 113.9 kB / 0.7643 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.1671, allocations: 7.875 kB / 0.7643 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.21e-05/0.1671, allocations: 44.75 kB / 0.7643 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1671, allocations: 0 / 0.7643 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1671, allocations: 0 / 0.7643 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.1671, allocations: 0 / 0.7643 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1673, allocations: 153.7 kB / 0.7644 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1673, allocations: 8.031 kB / 0.7645 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.1673, allocations: 0 / 0.7645 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1673, allocations: 3.938 kB / 0.7645 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.1673, allocations: 0 / 0.7645 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1673, allocations: 0 / 0.7645 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1673, allocations: 0 / 0.7645 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.601e-05/0.1674, allocations: 57.12 kB / 0.7645 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.1674, allocations: 81.05 kB / 0.7646 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-06/0.1674, allocations: 4.031 kB / 0.7646 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.1674, allocations: 4 kB / 0.7646 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.1674, allocations: 4 kB / 0.7646 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.1674, allocations: 4 kB / 0.7646 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.1675, allocations: 75.28 kB / 0.7647 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1675, allocations: 3.938 kB / 0.7647 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001865/0.1677, allocations: 7.938 kB / 0.7647 GB, free: 11.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0004364/0.1681, allocations: 0.6046 MB / 0.7653 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.83e-05/0.1682, allocations: 11.98 kB / 0.7653 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1682, allocations: 0 / 0.7653 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.865e-06/0.1682, allocations: 7.875 kB / 0.7653 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.1683, allocations: 1.719 kB / 0.7653 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.1686, allocations: 114.7 kB / 0.7654 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1688, allocations: 0.6768 MB / 0.7661 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.547e-05/0.1689, allocations: 0 / 0.7661 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.507e-05/0.1689, allocations: 7.438 kB / 0.7661 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1689, allocations: 0 / 0.7661 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.1903, allocations: 1.002 MB / 0.7671 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.218, allocations: 6.672 kB / 0.7671 GB, free: 9.168 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.569506779997027]