Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.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.001335/0.001335, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001666/0.001666, allocations: 222.3 kB / 22.25 MB, free: 5.109 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.797 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.002615/0.002615, allocations: 303.8 kB / 312.7 MB, free: 2.613 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.257/1.257, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.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.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",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.004138/0.004138, allocations: 93.3 kB / 0.7395 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2092, allocations: 95.39 MB / 0.8326 GB, free: 8.324 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002829/0.212, allocations: 1.512 MB / 0.8341 GB, free: 6.801 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.2132, allocations: 0.688 MB / 0.8348 GB, free: 6.105 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.2133, allocations: 4 kB / 0.8348 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.2133, allocations: 7.922 kB / 0.8348 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.2134, allocations: 7.875 kB / 0.8348 GB, free: 6.086 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.2138, allocations: 95.66 kB / 0.8349 GB, free: 5.992 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2139, allocations: 43.84 kB / 0.8349 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.214, allocations: 16.22 kB / 0.835 GB, free: 5.934 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2141, allocations: 23.91 kB / 0.835 GB, free: 5.91 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.2141, allocations: 11.92 kB / 0.835 GB, free: 5.898 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.2141, allocations: 4 kB / 0.835 GB, free: 5.895 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.2144, allocations: 111.9 kB / 0.8351 GB, free: 5.785 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.2144, allocations: 7.922 kB / 0.8351 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.2144, allocations: 19.88 kB / 0.8351 GB, free: 5.758 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.2146, allocations: 99.69 kB / 0.8352 GB, free: 5.66 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2146, allocations: 0 / 0.8352 GB, free: 5.66 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2146, allocations: 0 / 0.8352 GB, free: 5.66 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2146, allocations: 4 kB / 0.8352 GB, free: 5.656 MB / 0.5763 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.00045/0.2151, allocations: 290 kB / 0.8355 GB, free: 5.344 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2151, allocations: 13.34 kB / 0.8355 GB, free: 5.332 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.2151, allocations: 34.75 kB / 0.8356 GB, free: 5.289 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.2153, allocations: 16.88 kB / 0.8356 GB, free: 5.273 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.2155, allocations: 126.4 kB / 0.8357 GB, free: 5.125 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.2155, allocations: 384 / 0.8357 GB, free: 5.125 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.2155, allocations: 4.375 kB / 0.8357 GB, free: 5.121 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.2157, allocations: 61.73 kB / 0.8358 GB, free: 5.055 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.2157, allocations: 4 kB / 0.8358 GB, free: 5.051 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2157, allocations: 3.938 kB / 0.8358 GB, free: 5.047 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2157, allocations: 0 / 0.8358 GB, free: 5.047 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.499e-05/0.2158, allocations: 27.98 kB / 0.8358 GB, free: 5.02 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.2161, allocations: 239.9 kB / 0.836 GB, free: 4.742 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 9.201e-05/0.2162, allocations: 30.52 kB / 0.836 GB, free: 4.703 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.2163, allocations: 20.91 kB / 0.8361 GB, free: 4.68 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/0.2165, allocations: 35.97 kB / 0.8361 GB, free: 4.645 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2165, allocations: 34.56 kB / 0.8361 GB, free: 4.602 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 4.469e-06/0.2166, allocations: 3.984 kB / 0.8361 GB, free: 4.598 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0002537/0.2168, allocations: 61.62 kB / 0.8362 GB, free: 4.531 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.2169, allocations: 63.34 kB / 0.8363 GB, free: 4.457 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.217, allocations: 123.8 kB / 0.8364 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.217, allocations: 29.64 kB / 0.8364 GB, free: 4.293 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.2171, allocations: 88.27 kB / 0.8365 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.2171, allocations: 15.97 kB / 0.8365 GB, free: 4.188 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.2171, allocations: 17.7 kB / 0.8365 GB, free: 4.164 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2173, allocations: 314.8 kB / 0.8368 GB, free: 3.848 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.2173, allocations: 15.98 kB / 0.8368 GB, free: 3.832 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.2174, allocations: 4 kB / 0.8368 GB, free: 3.828 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.405e-05/0.2174, allocations: 28.84 kB / 0.8369 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2174, allocations: 0 / 0.8369 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001373/0.2176, allocations: 61.69 kB / 0.8369 GB, free: 3.73 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2176, allocations: 4 kB / 0.8369 GB, free: 3.727 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2176, allocations: 3.984 kB / 0.8369 GB, free: 3.723 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2176, allocations: 0 / 0.8369 GB, free: 3.723 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.2177, allocations: 4 kB / 0.8369 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2177, allocations: 0 / 0.8369 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.2177, allocations: 7.953 kB / 0.8369 GB, free: 3.711 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.2177, allocations: 3.938 kB / 0.8369 GB, free: 3.707 MB / 0.5763 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 8.768e-05/0.2178, allocations: 114.5 kB / 0.8371 GB, free: 3.586 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.2178, allocations: 8 kB / 0.8371 GB, free: 3.578 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.218, allocations: 61.33 kB / 0.8371 GB, free: 3.508 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.218, allocations: 0 / 0.8371 GB, free: 3.508 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.218, allocations: 0 / 0.8371 GB, free: 3.508 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.218, allocations: 0 / 0.8371 GB, free: 3.508 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.2182, allocations: 140.7 kB / 0.8373 GB, free: 3.328 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2182, allocations: 3.938 kB / 0.8373 GB, free: 3.324 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.2182, allocations: 8 kB / 0.8373 GB, free: 3.316 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2183, allocations: 7.984 kB / 0.8373 GB, free: 3.309 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.2183, allocations: 0 / 0.8373 GB, free: 3.309 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2183, allocations: 4.031 kB / 0.8373 GB, free: 3.305 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2183, allocations: 3.984 kB / 0.8373 GB, free: 3.301 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.2184, allocations: 159.4 kB / 0.8374 GB, free: 3.129 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.2185, allocations: 3.953 kB / 0.8374 GB, free: 3.125 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.2185, allocations: 7.984 kB / 0.8374 GB, free: 3.117 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.2186, allocations: 0 / 0.8374 GB, free: 3.117 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.2186, allocations: 0 / 0.8374 GB, free: 3.117 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.2186, allocations: 4 kB / 0.8375 GB, free: 3.113 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 7.128e-05/0.2187, allocations: 103.1 kB / 0.8376 GB, free: 3.012 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.2187, allocations: 4 kB / 0.8376 GB, free: 3.008 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002399/0.2189, allocations: 15.97 kB / 0.8376 GB, free: 2.992 MB / 0.5763 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.0005781/0.2195, allocations: 0.6929 MB / 0.8382 GB, free: 2.273 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.2196, allocations: 19.98 kB / 0.8383 GB, free: 2.254 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2196, allocations: 0 / 0.8383 GB, free: 2.254 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.2197, allocations: 15.92 kB / 0.8383 GB, free: 2.238 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.2199, allocations: 8.156 kB / 0.8383 GB, free: 2.23 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.2213, allocations: 1.325 MB / 0.8396 GB, free: 0.832 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.467e-05/0.2214, allocations: 67.33 kB / 0.8396 GB, free: 0.7461 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.2214, allocations: 4 kB / 0.8397 GB, free: 0.7422 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.2214, allocations: 15.44 kB / 0.8397 GB, free: 0.7266 MB / 0.5763 GB Notification: Performance of SimCode: time 3e-07/0.2214, allocations: 0 / 0.8397 GB, free: 0.7266 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.2499, allocations: 2.176 MB / 0.8418 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.22, allocations: 4.562 kB / 0.8418 GB, free: 14.68 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.504426586907357] Failed to read output from testmodel.py, exit status != 0: 11.328478651121259 11.35585864 11.136281351 Calling exit ...