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.001222/0.001222, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001388/0.001388, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.003551/0.003551, allocations: 289.5 kB / 313.5 MB, free: 2.801 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.244/1.244, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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.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.00276/0.00276, allocations: 102.3 kB / 0.7404 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2048, allocations: 95.38 MB / 0.8335 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00184/0.2067, allocations: 0.601 MB / 0.8341 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.2086, allocations: 1.336 MB / 0.8354 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.2086, allocations: 0 / 0.8354 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.2086, allocations: 0 / 0.8354 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.2086, allocations: 4 kB / 0.8354 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.209, allocations: 75.67 kB / 0.8355 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.934e-05/0.2091, allocations: 7.984 kB / 0.8355 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.2091, allocations: 0 / 0.8355 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.32e-05/0.2091, allocations: 3.938 kB / 0.8355 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.2092, allocations: 4 kB / 0.8355 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.2092, allocations: 0 / 0.8355 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.2095, allocations: 115.9 kB / 0.8356 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.125e-06/0.2095, allocations: 0 / 0.8356 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.2095, allocations: 7.984 kB / 0.8356 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.2097, allocations: 64.08 kB / 0.8357 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2097, allocations: 0 / 0.8357 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2097, allocations: 0 / 0.8357 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2097, allocations: 0 / 0.8357 GB, free: 6.379 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.0003303/0.21, allocations: 259.1 kB / 0.8359 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2101, allocations: 9.344 kB / 0.836 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.398e-05/0.2101, allocations: 4.188 kB / 0.836 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.2101, allocations: 30.75 kB / 0.836 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.2101, allocations: 0.9375 kB / 0.836 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.505e-05/0.2102, allocations: 110.5 kB / 0.8361 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-06/0.2102, allocations: 4.312 kB / 0.8361 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.2102, allocations: 384 / 0.8361 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.2103, allocations: 33.62 kB / 0.8361 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.2103, allocations: 4 kB / 0.8361 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.2103, allocations: 0 / 0.8361 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2103, allocations: 4 kB / 0.8361 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/0.2104, allocations: 0 / 0.8361 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.2105, allocations: 120.8 kB / 0.8363 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.053e-05/0.2106, allocations: 18.52 kB / 0.8363 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.2106, allocations: 4.859 kB / 0.8363 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/0.2109, allocations: 47.98 kB / 0.8363 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.2109, allocations: 34.56 kB / 0.8364 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2109, allocations: 0 / 0.8364 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001439/0.2111, allocations: 33.7 kB / 0.8364 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.2111, allocations: 51.41 kB / 0.8364 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.037e-05/0.2112, allocations: 93.86 kB / 0.8365 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.2112, allocations: 25.7 kB / 0.8365 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.2112, allocations: 80.27 kB / 0.8366 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.2113, allocations: 8 kB / 0.8366 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.2113, allocations: 13.7 kB / 0.8366 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2114, allocations: 318.8 kB / 0.837 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.2115, allocations: 4 kB / 0.837 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.2115, allocations: 0 / 0.837 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.2115, allocations: 8.859 kB / 0.837 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2115, allocations: 0 / 0.837 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.311e-05/0.2116, allocations: 37.7 kB / 0.837 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2116, allocations: 4 kB / 0.837 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2116, allocations: 0 / 0.837 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2116, allocations: 8 kB / 0.837 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-05/0.2116, allocations: 3.984 kB / 0.837 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2117, allocations: 0 / 0.837 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.2117, allocations: 3.938 kB / 0.837 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2117, allocations: 3.938 kB / 0.837 GB, free: 4.832 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 (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 8.23e-05/0.2118, allocations: 110.5 kB / 0.8371 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.2118, allocations: 15.95 kB / 0.8371 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.7e-05/0.2119, allocations: 40.62 kB / 0.8372 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.2119, allocations: 0 / 0.8372 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2119, allocations: 4 kB / 0.8372 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2119, allocations: 0 / 0.8372 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.212, allocations: 112.8 kB / 0.8373 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.212, allocations: 0 / 0.8373 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.212, allocations: 7.938 kB / 0.8373 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.212, allocations: 4.031 kB / 0.8373 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.212, allocations: 0 / 0.8373 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.212, allocations: 0 / 0.8373 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.212, allocations: 0 / 0.8373 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.682e-05/0.2121, allocations: 65.06 kB / 0.8374 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.2121, allocations: 3.938 kB / 0.8374 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-06/0.2121, allocations: 0 / 0.8374 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-06/0.2121, allocations: 0 / 0.8374 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.2122, allocations: 4.031 kB / 0.8374 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.2122, allocations: 7.984 kB / 0.8374 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.2122, allocations: 75.28 kB / 0.8375 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2122, allocations: 0 / 0.8375 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002077/0.2124, allocations: 15.94 kB / 0.8375 GB, free: 4.297 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 (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.0005272/0.2129, allocations: 0.6085 MB / 0.8381 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.805e-05/0.213, allocations: 4 kB / 0.8381 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.213, allocations: 0 / 0.8381 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.342e-06/0.213, allocations: 0 / 0.8381 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.2132, allocations: 6.438 kB / 0.8381 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.2135, allocations: 110.7 kB / 0.8382 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.2139, allocations: 0.6729 MB / 0.8388 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.692e-05/0.2139, allocations: 4.125 kB / 0.8388 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.2139, allocations: 11.42 kB / 0.8388 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2139, allocations: 0 / 0.8388 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.2355, allocations: 1.28 MB / 0.8401 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.18, allocations: 5.562 kB / 0.8401 GB, free: 1.648 MB / 0.5762 GB " [Timeout remaining time 649] (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: 15.500318064994644] Failed to read output from testmodel.py, exit status != 0: 11.338221206038725 11.354263948 11.14157068 Calling exit ...