Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001343/0.001343, allocations: 117.5 kB / 17.13 MB, free: 5.941 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.001307/0.001307, allocations: 192.7 kB / 20.08 MB, free: 3.012 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.488/1.488, allocations: 225.6 MB / 248.5 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8782/0.8782, allocations: 129.2 MB / 432.5 MB, free: 13.19 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 0.5987 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3971, allocations: 83.45 MB / 0.6802 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002377/0.3995, allocations: 1.496 MB / 0.6816 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.4005, allocations: 0.6564 MB / 0.6823 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.4006, allocations: 1.094 kB / 0.6823 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.4006, allocations: 3.938 kB / 0.6823 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.4007, allocations: 5.188 kB / 0.6823 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.401, allocations: 78.02 kB / 0.6824 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.4011, allocations: 46.97 kB / 0.6824 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4012, allocations: 11.86 kB / 0.6824 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.4013, allocations: 18.17 kB / 0.6824 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.4013, allocations: 20.89 kB / 0.6825 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.4014, allocations: 2.938 kB / 0.6825 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.4015, allocations: 101 kB / 0.6826 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.4016, allocations: 5.406 kB / 0.6826 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.4016, allocations: 20.02 kB / 0.6826 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.4018, allocations: 82.66 kB / 0.6827 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4018, allocations: 0 / 0.6827 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4018, allocations: 5.094 kB / 0.6827 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.4018, allocations: 0 / 0.6827 GB, free: 4.074 MB / 0.4981 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.0003863/0.4022, allocations: 369.5 kB / 0.683 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4022, allocations: 9.125 kB / 0.683 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.4022, allocations: 36.02 kB / 0.6831 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.4023, allocations: 3.031 kB / 0.6831 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.141e-05/0.4024, allocations: 179.3 kB / 0.6832 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4024, allocations: 1.5 kB / 0.6832 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.4024, allocations: 6.438 kB / 0.6832 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.4025, allocations: 54.61 kB / 0.6833 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4025, allocations: 7.984 kB / 0.6833 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4026, allocations: 5.344 kB / 0.6833 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4026, allocations: 1.406 kB / 0.6833 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.4027, allocations: 22.42 kB / 0.6833 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.403, allocations: 283 kB / 0.6836 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.355e-05/0.4031, allocations: 32.53 kB / 0.6836 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.4031, allocations: 18.27 kB / 0.6837 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/0.4035, allocations: 0.5582 MB / 0.6842 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.4035, allocations: 30.56 kB / 0.6842 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.4035, allocations: 0 / 0.6842 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000245/0.4037, allocations: 72.41 kB / 0.6843 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.4038, allocations: 55.44 kB / 0.6844 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.4038, allocations: 122 kB / 0.6845 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.4038, allocations: 26.83 kB / 0.6845 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.4039, allocations: 90.41 kB / 0.6846 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.4039, allocations: 9.109 kB / 0.6846 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.4039, allocations: 12.03 kB / 0.6846 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.404, allocations: 323.9 kB / 0.6849 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.404, allocations: 9.969 kB / 0.6849 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.404, allocations: 9.453 kB / 0.6849 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.742e-05/0.4041, allocations: 37.09 kB / 0.685 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4041, allocations: 4.938 kB / 0.685 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001089/0.4042, allocations: 51.09 kB / 0.685 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4043, allocations: 5.375 kB / 0.685 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4043, allocations: 0 / 0.685 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4043, allocations: 5.094 kB / 0.685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/0.4043, allocations: 4.312 kB / 0.685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4043, allocations: 3.984 kB / 0.685 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.4044, allocations: 6.047 kB / 0.685 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.4044, allocations: 5 kB / 0.685 GB, free: 1.5 MB / 0.4981 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 4.385e-05/0.4044, allocations: 112 kB / 0.6852 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.4045, allocations: 3.312 kB / 0.6852 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.4046, allocations: 65.48 kB / 0.6852 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4046, allocations: 0.9688 kB / 0.6852 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4046, allocations: 0 / 0.6852 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4046, allocations: 0 / 0.6852 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.4047, allocations: 173.3 kB / 0.6854 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4047, allocations: 1.156 kB / 0.6854 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.4048, allocations: 11.61 kB / 0.6854 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4048, allocations: 1.156 kB / 0.6854 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.4048, allocations: 0 / 0.6854 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4048, allocations: 1.031 kB / 0.6854 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4048, allocations: 0 / 0.6854 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.4049, allocations: 166 kB / 0.6856 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.4049, allocations: 82.19 kB / 0.6856 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.4049, allocations: 1.188 kB / 0.6856 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.405, allocations: 1.375 kB / 0.6856 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.405, allocations: 1.219 kB / 0.6856 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.405, allocations: 1.031 kB / 0.6856 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.731e-05/0.4051, allocations: 106.4 kB / 0.6857 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4051, allocations: 0 / 0.6857 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002281/0.4053, allocations: 13.08 kB / 0.6858 GB, free: 0.7539 MB / 0.4981 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.0003129/0.4056, allocations: 0.6841 MB / 0.6864 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.4057, allocations: 33.64 kB / 0.6865 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4057, allocations: 1.25 kB / 0.6865 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.979e-05/0.4058, allocations: 6.625 kB / 0.6865 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.406, allocations: 10.16 kB / 0.6865 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.4074, allocations: 1.315 MB / 0.6878 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.4077, allocations: 0.6875 MB / 0.6884 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.4077, allocations: 2.844 kB / 0.6884 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.4077, allocations: 17.89 kB / 0.6884 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.4077, allocations: 0 / 0.6884 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.4321, allocations: 1.508 MB / 0.6899 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.5, allocations: 7.125 kB / 0.6899 GB, free: 13.22 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.905085924081504] Failed to read output from testmodel.py, exit status != 0: 8.566805236972868 8.581323631 8.176441202 Calling exit ...