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.0007478/0.0007478, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000753/0.000753, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8702/0.8702, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.001435/0.001435, allocations: 237 kB / 259.4 MB, free: 13.04 MB / 250.7 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 0.6431/0.6431, allocations: 138.4 MB / 454.3 MB, free: 30.07 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.151e-05, allocations: 5.094 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002115/0.002136, allocations: 1.515 MB / 0.6478 GB, free: 360 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2437/0.2459, allocations: 0.6825 MB / 0.6484 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.246, allocations: 0.875 kB / 0.6484 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.246, allocations: 4.172 kB / 0.6484 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.246, allocations: 8.984 kB / 0.6485 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.2465, allocations: 100.6 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.2466, allocations: 38.89 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2467, allocations: 9.703 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.2468, allocations: 29.2 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.2468, allocations: 12.83 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.2469, allocations: 8.656 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.247, allocations: 109.2 kB / 0.6488 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.2471, allocations: 10.45 kB / 0.6488 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.2471, allocations: 12.38 kB / 0.6488 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.2473, allocations: 113.1 kB / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2473, allocations: 2.406 kB / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2473, allocations: 0 / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2473, allocations: 0.9688 kB / 0.6489 GB, free: 55.82 MB / 0.5573 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.0003593/0.2477, allocations: 289.6 kB / 0.6492 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2477, allocations: 13.75 kB / 0.6492 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.601e-05/0.2477, allocations: 34.48 kB / 0.6492 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.2479, allocations: 16.83 kB / 0.6492 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.2481, allocations: 123.5 kB / 0.6493 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2481, allocations: 4.844 kB / 0.6493 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.2481, allocations: 3.281 kB / 0.6493 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.2482, allocations: 58.7 kB / 0.6494 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2482, allocations: 0.9844 kB / 0.6494 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2482, allocations: 4.625 kB / 0.6494 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2483, allocations: 1.438 kB / 0.6494 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.002e-05/0.2483, allocations: 29.69 kB / 0.6494 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.2486, allocations: 240.4 kB / 0.6497 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.2487, allocations: 35.23 kB / 0.6497 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.2487, allocations: 15.48 kB / 0.6497 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.2489, allocations: 39.95 kB / 0.6498 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.2489, allocations: 31.92 kB / 0.6498 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.734e-06/0.2489, allocations: 0 / 0.6498 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002021/0.2491, allocations: 71.91 kB / 0.6499 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.2491, allocations: 60.44 kB / 0.6499 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.2492, allocations: 126.2 kB / 0.65 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-06/0.2492, allocations: 26.7 kB / 0.6501 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.2492, allocations: 88.94 kB / 0.6501 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.2493, allocations: 13.42 kB / 0.6502 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.2493, allocations: 13.89 kB / 0.6502 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.2493, allocations: 325.7 kB / 0.6505 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-05/0.2494, allocations: 6.266 kB / 0.6505 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.2494, allocations: 11.44 kB / 0.6505 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.2494, allocations: 26.22 kB / 0.6505 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2494, allocations: 1.406 kB / 0.6505 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.888e-05/0.2495, allocations: 55.7 kB / 0.6506 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2495, allocations: 8.375 kB / 0.6506 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2495, allocations: 0.7031 kB / 0.6506 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2496, allocations: 2.469 kB / 0.6506 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.2496, allocations: 3.812 kB / 0.6506 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2496, allocations: 2.094 kB / 0.6506 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.2497, allocations: 7.312 kB / 0.6506 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.2497, allocations: 0 / 0.6506 GB, free: 54.32 MB / 0.5573 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 5.081e-05/0.2497, allocations: 117.9 kB / 0.6507 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.2497, allocations: 8.203 kB / 0.6507 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.2499, allocations: 62.14 kB / 0.6508 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2499, allocations: 0.9688 kB / 0.6508 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2499, allocations: 0.6094 kB / 0.6508 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2499, allocations: 0 / 0.6508 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.25, allocations: 136.6 kB / 0.6509 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.25, allocations: 0 / 0.6509 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.25, allocations: 14.31 kB / 0.6509 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.25, allocations: 2.562 kB / 0.6509 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2501, allocations: 1.672 kB / 0.6509 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2501, allocations: 0.875 kB / 0.6509 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2501, allocations: 0 / 0.6509 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.2502, allocations: 153.1 kB / 0.6511 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.2502, allocations: 11.28 kB / 0.6511 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.2502, allocations: 0.7812 kB / 0.6511 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.262e-05/0.2502, allocations: 4.672 kB / 0.6511 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.2503, allocations: 6.969 kB / 0.6511 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.2503, allocations: 1.578 kB / 0.6511 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.2503, allocations: 99.66 kB / 0.6512 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2503, allocations: 1.438 kB / 0.6512 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000188/0.2505, allocations: 16.8 kB / 0.6512 GB, free: 53.79 MB / 0.5573 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.0003339/0.2509, allocations: 0.6976 MB / 0.6519 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.251, allocations: 23.88 kB / 0.6519 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.251, allocations: 0.75 kB / 0.6519 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.251, allocations: 16.98 kB / 0.6519 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.2512, allocations: 2.484 kB / 0.6519 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.252, allocations: 1.324 MB / 0.6532 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.29e-05/0.2521, allocations: 67.48 kB / 0.6533 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.2521, allocations: 4.281 kB / 0.6533 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.2522, allocations: 19.41 kB / 0.6533 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of SimCode: time 7.91e-07/0.2522, allocations: 3.875 kB / 0.6533 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.2674, allocations: 2.315 MB / 0.6556 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.422/6.689, allocations: 6.219 kB / 0.6556 GB, free: 51.05 MB / 0.5573 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 9.303382045589387] Failed to read output from testmodel.py, exit status != 0: 6.7674423744902015 6.775163847 6.52599698 Calling exit ...