Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.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.00142/0.00142, allocations: 108.9 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.001406/0.001406, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.503/1.503, 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.5 MB, free: 8.461 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.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 68.42 kB / 0.6652 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2583, allocations: 94.53 MB / 0.7575 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003287/0.2616, allocations: 1.506 MB / 0.759 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4127/0.6743, allocations: 0.651 MB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.6743, allocations: 0.6875 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.6744, allocations: 5.266 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.6744, allocations: 8.281 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.6749, allocations: 81.88 kB / 0.7597 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.6751, allocations: 37.42 kB / 0.7598 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.6752, allocations: 12.16 kB / 0.7598 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.6753, allocations: 13.27 kB / 0.7598 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.6753, allocations: 25.88 kB / 0.7598 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.6753, allocations: 7.375 kB / 0.7598 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.6757, allocations: 97.83 kB / 0.7599 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.6757, allocations: 9.016 kB / 0.7599 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.6757, allocations: 18.69 kB / 0.7599 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.676, allocations: 82.7 kB / 0.76 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.676, allocations: 0 / 0.76 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.676, allocations: 1.625 kB / 0.76 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.676, allocations: 0.5625 kB / 0.76 GB, free: 7.961 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004621/0.6764, allocations: 368.8 kB / 0.7604 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.6765, allocations: 10.23 kB / 0.7604 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.6765, allocations: 33.05 kB / 0.7604 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.6766, allocations: 4.062 kB / 0.7604 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.6767, allocations: 178.4 kB / 0.7606 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.6767, allocations: 4.688 kB / 0.7606 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.6767, allocations: 2.5 kB / 0.7606 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.6769, allocations: 59.33 kB / 0.7606 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6769, allocations: 1.406 kB / 0.7606 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.6769, allocations: 0 / 0.7606 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6769, allocations: 1.938 kB / 0.7607 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.677, allocations: 31.09 kB / 0.7607 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.6774, allocations: 280.6 kB / 0.7609 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.6775, allocations: 32.55 kB / 0.761 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.6776, allocations: 17.94 kB / 0.761 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004235/0.678, allocations: 0.5609 MB / 0.7615 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.678, allocations: 35.61 kB / 0.7616 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.678, allocations: 0.5938 kB / 0.7616 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003048/0.6783, allocations: 65.11 kB / 0.7616 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.6783, allocations: 53.28 kB / 0.7617 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.6784, allocations: 124.1 kB / 0.7618 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.6784, allocations: 26.95 kB / 0.7618 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.6785, allocations: 90.72 kB / 0.7619 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.6785, allocations: 4.953 kB / 0.7619 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.6786, allocations: 18.53 kB / 0.7619 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.6786, allocations: 318.5 kB / 0.7622 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.6787, allocations: 11.12 kB / 0.7623 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.6787, allocations: 11.81 kB / 0.7623 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.6788, allocations: 30 kB / 0.7623 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6788, allocations: 0 / 0.7623 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001568/0.679, allocations: 61.53 kB / 0.7624 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.679, allocations: 5.406 kB / 0.7624 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.679, allocations: 0.9375 kB / 0.7624 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.679, allocations: 5.219 kB / 0.7624 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.798e-05/0.6791, allocations: 7.875 kB / 0.7624 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6791, allocations: 0.6562 kB / 0.7624 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.6791, allocations: 3.156 kB / 0.7624 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.6791, allocations: 9 kB / 0.7624 GB, free: 5.613 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 (2): * Single equations (assignments): 2 * 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 5.684e-05/0.6792, allocations: 111.9 kB / 0.7625 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.6792, allocations: 2.953 kB / 0.7625 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.6794, allocations: 70.45 kB / 0.7626 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.6794, allocations: 0.5312 kB / 0.7626 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6794, allocations: 0 / 0.7626 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6794, allocations: 1.953 kB / 0.7626 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.6796, allocations: 176.4 kB / 0.7627 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.6796, allocations: 0.7031 kB / 0.7627 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.201e-05/0.6797, allocations: 5.125 kB / 0.7627 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6797, allocations: 1.953 kB / 0.7627 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.6797, allocations: 0 / 0.7627 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6797, allocations: 1.891 kB / 0.7627 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6797, allocations: 4.969 kB / 0.7627 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.6799, allocations: 149.7 kB / 0.7629 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.6799, allocations: 87.56 kB / 0.763 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.6799, allocations: 2.062 kB / 0.763 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.68, allocations: 2.562 kB / 0.763 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.6801, allocations: 2.781 kB / 0.763 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.6801, allocations: 1.344 kB / 0.763 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.461e-05/0.6801, allocations: 104.9 kB / 0.7631 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6801, allocations: 0 / 0.7631 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004085/0.6805, allocations: 9.781 kB / 0.7631 GB, free: 4.938 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 (2): * Single equations (assignments): 2 * 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.000417/0.681, allocations: 0.686 MB / 0.7638 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.6811, allocations: 26.59 kB / 0.7638 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6811, allocations: 0.8125 kB / 0.7638 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.849e-05/0.6812, allocations: 12.61 kB / 0.7638 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.6815, allocations: 5.922 kB / 0.7638 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.6837, allocations: 1.322 MB / 0.7651 GB, free: 19.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.6842, allocations: 0.6904 MB / 0.7658 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.6842, allocations: 2.672 kB / 0.7658 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.6842, allocations: 16.78 kB / 0.7658 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6842, allocations: 0 / 0.7658 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.7124, allocations: 1.501 MB / 0.7673 GB, free: 18.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.725, allocations: 4.5 kB / 0.7673 GB, free: 18.04 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.60619641514495] Failed to read output from testmodel.py, exit status != 0: 8.796380735002458 8.812914813 8.133925363 Calling exit ...