Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002364/0.002364, allocations: 280.8 kB / 309.8 MB, free: 3.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.078/1.078, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003031/0.003031, allocations: 103.8 kB / 0.7347 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5142, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001651/0.5158, allocations: 0.591 MB / 0.8284 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.5173, allocations: 1.342 MB / 0.8297 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.826e-05/0.5173, allocations: 4 kB / 0.8297 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.5173, allocations: 0 / 0.8297 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.5173, allocations: 0 / 0.8297 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.5177, allocations: 69.61 kB / 0.8298 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.828e-05/0.5178, allocations: 7.312 kB / 0.8298 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.5178, allocations: 0.75 kB / 0.8298 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.5178, allocations: 4 kB / 0.8298 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.5179, allocations: 6.562 kB / 0.8298 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.5179, allocations: 0 / 0.8298 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.5182, allocations: 121.1 kB / 0.8299 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.265e-06/0.5182, allocations: 0 / 0.8299 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.5182, allocations: 4.969 kB / 0.8299 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.5183, allocations: 56.39 kB / 0.83 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5183, allocations: 2.625 kB / 0.83 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5183, allocations: 0 / 0.83 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.5183, allocations: 0.8438 kB / 0.83 GB, free: 1.59 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.0002671/0.5186, allocations: 332.8 kB / 0.8303 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5186, allocations: 10.75 kB / 0.8303 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.114e-05/0.5187, allocations: 4.188 kB / 0.8303 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.766e-05/0.5187, allocations: 31.5 kB / 0.8303 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.5187, allocations: 0.9375 kB / 0.8303 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.234e-05/0.5188, allocations: 162 kB / 0.8305 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.5188, allocations: 384 / 0.8305 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.5188, allocations: 4.125 kB / 0.8305 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.873e-05/0.5189, allocations: 30.44 kB / 0.8305 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5189, allocations: 3.938 kB / 0.8305 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.5189, allocations: 4.688 kB / 0.8305 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5189, allocations: 0 / 0.8305 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/0.5189, allocations: 10.56 kB / 0.8305 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.519, allocations: 149.7 kB / 0.8307 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.738e-05/0.519, allocations: 15.19 kB / 0.8307 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.5191, allocations: 8.234 kB / 0.8307 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004277/0.5195, allocations: 0.5662 MB / 0.8313 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.5195, allocations: 35.36 kB / 0.8313 GB, free: 8 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.5195, allocations: 0 / 0.8313 GB, free: 8 kB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001767/0.5197, allocations: 36.11 kB / 0.8313 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.5197, allocations: 55.41 kB / 0.8314 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.075e-05/0.5198, allocations: 90.52 kB / 0.8315 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.5198, allocations: 28.33 kB / 0.8315 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.5198, allocations: 80.14 kB / 0.8316 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.5198, allocations: 4.125 kB / 0.8316 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.5199, allocations: 11.78 kB / 0.8316 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.52, allocations: 311.5 kB / 0.8319 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.52, allocations: 2.016 kB / 0.8319 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.52, allocations: 2.625 kB / 0.8319 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.52, allocations: 16.08 kB / 0.8319 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.52, allocations: 7.938 kB / 0.8319 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.061e-05/0.5201, allocations: 40.27 kB / 0.8319 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.5201, allocations: 5.25 kB / 0.832 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5201, allocations: 0.5625 kB / 0.832 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.5201, allocations: 0 / 0.832 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.928e-05/0.5202, allocations: 3.328 kB / 0.832 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.5202, allocations: 0 / 0.832 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.137e-05/0.5202, allocations: 0 / 0.832 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.5202, allocations: 3.328 kB / 0.832 GB, free: 15.3 MB / 0.5919 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.031e-05/0.5203, allocations: 109.9 kB / 0.8321 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.5203, allocations: 3.938 kB / 0.8321 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.918e-05/0.5204, allocations: 51.2 kB / 0.8321 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5204, allocations: 0 / 0.8321 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5204, allocations: 0.6562 kB / 0.8321 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5204, allocations: 0 / 0.8321 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.5205, allocations: 150.3 kB / 0.8323 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5205, allocations: 0 / 0.8323 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.5205, allocations: 4.688 kB / 0.8323 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5205, allocations: 2.625 kB / 0.8323 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.5205, allocations: 4.031 kB / 0.8323 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.5205, allocations: 0 / 0.8323 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5205, allocations: 0.7031 kB / 0.8323 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.771e-05/0.5206, allocations: 60.14 kB / 0.8323 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.5206, allocations: 81.75 kB / 0.8324 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.5206, allocations: 0.75 kB / 0.8324 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-06/0.5206, allocations: 3.938 kB / 0.8324 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.5206, allocations: 4.031 kB / 0.8324 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.5206, allocations: 0.6562 kB / 0.8324 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.5207, allocations: 75.28 kB / 0.8325 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5207, allocations: 1.312 kB / 0.8325 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001991/0.5209, allocations: 13.75 kB / 0.8325 GB, free: 14.69 MB / 0.5919 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.0004296/0.5213, allocations: 0.6081 MB / 0.8331 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.5214, allocations: 13.7 kB / 0.8331 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5214, allocations: 0 / 0.8331 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.884e-06/0.5214, allocations: 3.141 kB / 0.8331 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.5215, allocations: 2.453 kB / 0.8331 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.5218, allocations: 104.7 kB / 0.8332 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.5221, allocations: 0.6705 MB / 0.8339 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.776e-05/0.5221, allocations: 10.69 kB / 0.8339 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.5221, allocations: 7.438 kB / 0.8339 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5221, allocations: 0 / 0.8339 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.5388, allocations: 1.204 MB / 0.8351 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.629, allocations: 11.61 kB / 0.8351 GB, free: 12.88 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.69849904201692] Failed to read output from testmodel.py, exit status != 0: 8.7510058300104 8.7679219 8.246387734 Calling exit ...