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.001279/0.001279, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001478/0.001478, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.002432/0.002432, allocations: 282.2 kB / 313.5 MB, free: 2.797 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.235/1.235, allocations: 180.6 MB / 0.5377 GB, free: 13 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",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.002728/0.002728, allocations: 98.92 kB / 0.7403 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2161, allocations: 95.39 MB / 0.8335 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.004807/0.2209, allocations: 1.54 MB / 0.835 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.2231, allocations: 0.7542 MB / 0.8357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.84e-05/0.2232, allocations: 4 kB / 0.8357 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.798e-05/0.2232, allocations: 7.922 kB / 0.8358 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.2233, allocations: 7.922 kB / 0.8358 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.2239, allocations: 95.67 kB / 0.8358 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000159/0.2241, allocations: 47.84 kB / 0.8359 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2242, allocations: 16.2 kB / 0.8359 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.2243, allocations: 19.92 kB / 0.8359 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.2244, allocations: 19.86 kB / 0.8359 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.2244, allocations: 4 kB / 0.836 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.2247, allocations: 111.9 kB / 0.8361 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.2248, allocations: 11.98 kB / 0.8361 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.2248, allocations: 15.88 kB / 0.8361 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.2251, allocations: 103.7 kB / 0.8362 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2251, allocations: 0 / 0.8362 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2251, allocations: 0 / 0.8362 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.2251, allocations: 8 kB / 0.8362 GB, free: 5.836 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.0005726/0.2257, allocations: 286 kB / 0.8365 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.2257, allocations: 9.344 kB / 0.8365 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.06e-05/0.2258, allocations: 4.188 kB / 0.8365 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.2258, allocations: 34.75 kB / 0.8365 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.226, allocations: 16.88 kB / 0.8365 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.2263, allocations: 126.4 kB / 0.8366 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2263, allocations: 4.375 kB / 0.8367 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.2263, allocations: 4.375 kB / 0.8367 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.2266, allocations: 57.61 kB / 0.8367 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2266, allocations: 0 / 0.8367 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.2266, allocations: 0 / 0.8367 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2266, allocations: 4 kB / 0.8367 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.2267, allocations: 23.98 kB / 0.8367 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.2272, allocations: 259.8 kB / 0.837 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.2273, allocations: 34.5 kB / 0.837 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.2274, allocations: 12.92 kB / 0.837 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/0.2277, allocations: 31.97 kB / 0.8371 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.2277, allocations: 42.55 kB / 0.8371 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.2277, allocations: 3.938 kB / 0.8371 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003705/0.2281, allocations: 65.58 kB / 0.8372 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.2281, allocations: 51.41 kB / 0.8372 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.2283, allocations: 127.4 kB / 0.8373 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.2283, allocations: 25.7 kB / 0.8374 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.2284, allocations: 92.14 kB / 0.8375 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.2284, allocations: 8.016 kB / 0.8375 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.2285, allocations: 17.7 kB / 0.8375 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.2286, allocations: 322.8 kB / 0.8378 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.2287, allocations: 7.984 kB / 0.8378 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-05/0.2287, allocations: 12 kB / 0.8378 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.512e-05/0.2288, allocations: 28.78 kB / 0.8378 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2288, allocations: 0 / 0.8378 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.229, allocations: 57.73 kB / 0.8379 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.229, allocations: 8 kB / 0.8379 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.229, allocations: 0 / 0.8379 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.229, allocations: 0 / 0.8379 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.2291, allocations: 4 kB / 0.8379 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2291, allocations: 0 / 0.8379 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.924e-05/0.2291, allocations: 11.89 kB / 0.8379 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.2291, allocations: 3.984 kB / 0.8379 GB, free: 3.883 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 0.000101/0.2292, allocations: 114.5 kB / 0.838 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.2293, allocations: 8 kB / 0.838 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.2294, allocations: 65.23 kB / 0.8381 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2294, allocations: 0 / 0.8381 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2294, allocations: 4 kB / 0.8381 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2294, allocations: 3.938 kB / 0.8381 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.2296, allocations: 132.7 kB / 0.8382 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2296, allocations: 0 / 0.8382 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.2297, allocations: 8 kB / 0.8382 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2297, allocations: 4.031 kB / 0.8382 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.2297, allocations: 3.984 kB / 0.8382 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2297, allocations: 3.938 kB / 0.8382 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2297, allocations: 0 / 0.8382 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.2299, allocations: 155.4 kB / 0.8384 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.2299, allocations: 7.953 kB / 0.8384 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.2299, allocations: 3.984 kB / 0.8384 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.972e-05/0.23, allocations: 8.031 kB / 0.8384 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.23, allocations: 4 kB / 0.8384 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.23, allocations: 3.938 kB / 0.8384 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.626e-05/0.2301, allocations: 97.52 kB / 0.8385 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2301, allocations: 0 / 0.8385 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002332/0.2303, allocations: 15.88 kB / 0.8385 GB, free: 3.176 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.0006714/0.231, allocations: 0.6969 MB / 0.8392 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.2312, allocations: 27.92 kB / 0.8392 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2312, allocations: 0 / 0.8392 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.2312, allocations: 8 kB / 0.8392 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2316, allocations: 25.94 kB / 0.8393 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.2334, allocations: 1.313 MB / 0.8405 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.2338, allocations: 0.6884 MB / 0.8412 GB, free: 296 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.2338, allocations: 4 kB / 0.8412 GB, free: 292 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.2339, allocations: 15.44 kB / 0.8412 GB, free: 276 kB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.2339, allocations: 0 / 0.8412 GB, free: 276 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.264, allocations: 1.791 MB / 0.843 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.36, allocations: 18.09 kB / 0.843 GB, free: 14.61 MB / 0.5919 GB " [Timeout remaining time 648] (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.639642674999777] Failed to read output from testmodel.py, exit status != 0: 11.514115535013843 11.530231293 11.301964133 Calling exit ...