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.001285/0.001285, allocations: 111 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.001296/0.001296, allocations: 196.5 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.434/1.434, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.066/1.066, 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.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.003223/0.003223, allocations: 71.34 kB / 0.6653 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.233, allocations: 94.54 MB / 0.7576 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001795/0.2348, allocations: 0.5757 MB / 0.7581 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.2367, allocations: 1.258 MB / 0.7594 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.2367, allocations: 0 / 0.7594 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.2367, allocations: 0 / 0.7594 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.2368, allocations: 0 / 0.7594 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3815/0.6183, allocations: 61.52 kB / 0.7594 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.657e-05/0.6183, allocations: 1.312 kB / 0.7594 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.6183, allocations: 3.984 kB / 0.7594 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.6184, allocations: 5.844 kB / 0.7594 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.6184, allocations: 1.969 kB / 0.7594 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.196e-06/0.6184, allocations: 3.172 kB / 0.7594 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.6187, allocations: 99.56 kB / 0.7595 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.317e-06/0.6187, allocations: 3.047 kB / 0.7595 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.6187, allocations: 2.5 kB / 0.7595 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.6188, allocations: 54.86 kB / 0.7596 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6188, allocations: 1 kB / 0.7596 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6188, allocations: 1.156 kB / 0.7596 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.6188, allocations: 0.6875 kB / 0.7596 GB, free: 8.027 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.000237/0.6191, allocations: 328.5 kB / 0.7599 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.6191, allocations: 10.12 kB / 0.7599 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.6191, allocations: 31.81 kB / 0.76 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/0.6192, allocations: 2.438 kB / 0.76 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.794e-05/0.6192, allocations: 164.8 kB / 0.7601 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.6192, allocations: 4.375 kB / 0.7601 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.6192, allocations: 1.094 kB / 0.7601 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.57e-05/0.6193, allocations: 33.11 kB / 0.7601 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6193, allocations: 0 / 0.7601 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.6193, allocations: 3.266 kB / 0.7602 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.6193, allocations: 0.6094 kB / 0.7602 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.6193, allocations: 6.5 kB / 0.7602 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.092e-05/0.6194, allocations: 146.8 kB / 0.7603 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.241e-05/0.6195, allocations: 21.05 kB / 0.7603 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.6195, allocations: 9.5 kB / 0.7603 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004082/0.6199, allocations: 0.5632 MB / 0.7609 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.6199, allocations: 36.61 kB / 0.7609 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.6199, allocations: 0.5625 kB / 0.7609 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001171/0.62, allocations: 36.36 kB / 0.7609 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.62, allocations: 55.39 kB / 0.761 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.308e-05/0.6201, allocations: 89.86 kB / 0.7611 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.6201, allocations: 26.36 kB / 0.7611 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.987e-06/0.6201, allocations: 83.34 kB / 0.7612 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.6201, allocations: 4.703 kB / 0.7612 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.6201, allocations: 12.67 kB / 0.7612 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.6201, allocations: 313.1 kB / 0.7615 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.6202, allocations: 1.875 kB / 0.7615 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-06/0.6202, allocations: 3.25 kB / 0.7615 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.6202, allocations: 10.06 kB / 0.7615 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6202, allocations: 0 / 0.7615 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.452e-05/0.6202, allocations: 37.59 kB / 0.7616 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6202, allocations: 8.969 kB / 0.7616 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6203, allocations: 4.188 kB / 0.7616 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.6203, allocations: 5.688 kB / 0.7616 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.983e-05/0.6203, allocations: 2.922 kB / 0.7616 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.6203, allocations: 0 / 0.7616 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.6203, allocations: 0.5625 kB / 0.7616 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.6203, allocations: 6.625 kB / 0.7616 GB, free: 5.805 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 3.593e-05/0.6204, allocations: 107 kB / 0.7617 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-06/0.6204, allocations: 4.594 kB / 0.7617 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.6204, allocations: 45.06 kB / 0.7617 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.6204, allocations: 1.562 kB / 0.7617 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6205, allocations: 1.375 kB / 0.7617 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.6205, allocations: 0.6875 kB / 0.7617 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.463e-05/0.6205, allocations: 147.1 kB / 0.7619 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6205, allocations: 1.609 kB / 0.7619 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.6205, allocations: 2.094 kB / 0.7619 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.6205, allocations: 8.5 kB / 0.7619 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.6205, allocations: 256 / 0.7619 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6205, allocations: 5.125 kB / 0.7619 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6205, allocations: 0.625 kB / 0.7619 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.883e-05/0.6206, allocations: 56.7 kB / 0.7619 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.6206, allocations: 79.88 kB / 0.762 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.6206, allocations: 5.844 kB / 0.762 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.018e-05/0.6206, allocations: 3.688 kB / 0.762 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.6206, allocations: 1.172 kB / 0.762 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.6206, allocations: 11.94 kB / 0.762 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.127e-05/0.6206, allocations: 76.16 kB / 0.7621 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4e-08/0.6206, allocations: 0 / 0.7621 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002032/0.6208, allocations: 5.672 kB / 0.7621 GB, free: 5.215 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.0002586/0.6211, allocations: 0.6095 MB / 0.7627 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.739e-05/0.6212, allocations: 7.703 kB / 0.7627 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6212, allocations: 0 / 0.7627 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-06/0.6212, allocations: 2.922 kB / 0.7627 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.6213, allocations: 2.031 kB / 0.7627 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.6216, allocations: 113.9 kB / 0.7628 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.6219, allocations: 0.6712 MB / 0.7635 GB, free: 19.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.076e-05/0.6219, allocations: 10.61 kB / 0.7635 GB, free: 19.78 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.279e-05/0.6219, allocations: 8.25 kB / 0.7635 GB, free: 19.77 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.6219, allocations: 0 / 0.7635 GB, free: 19.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.6444, allocations: 1.044 MB / 0.7645 GB, free: 19.42 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.57, allocations: 6.406 kB / 0.7645 GB, free: 19.42 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.0008 --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: 12.303058764897287] Failed to read output from testmodel.py, exit status != 0: 8.63894720794633 8.650108746 8.028663573 Calling exit ...