Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004389/0.004389, allocations: 101.7 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001182, allocations: 194.1 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 240.5 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6693/0.6693, allocations: 115.3 MB / 405.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 68.03 kB / 493 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.339, allocations: 76.17 MB / 0.5558 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001632/0.3407, allocations: 0.6303 MB / 0.5565 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3418, allocations: 1.258 MB / 0.5577 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-06/0.3419, allocations: 0 / 0.5577 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.3419, allocations: 1.188 kB / 0.5577 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.3419, allocations: 0 / 0.5577 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.3421, allocations: 49.48 kB / 0.5577 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.863e-05/0.3422, allocations: 1.844 kB / 0.5577 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.3422, allocations: 5.719 kB / 0.5577 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.105e-05/0.3422, allocations: 0.9375 kB / 0.5577 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.3423, allocations: 1.062 kB / 0.5577 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.312e-06/0.3423, allocations: 0 / 0.5577 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.3425, allocations: 100.7 kB / 0.5578 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.3425, allocations: 3.844 kB / 0.5578 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.322e-05/0.3425, allocations: 0 / 0.5578 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.3426, allocations: 54.7 kB / 0.5579 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3426, allocations: 0 / 0.5579 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.3426, allocations: 4.844 kB / 0.5579 GB, free: 34.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3426, allocations: 0 / 0.5579 GB, free: 34.12 MB / 446.1 MB 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.000192/0.3428, allocations: 320.6 kB / 0.5582 GB, free: 33.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3429, allocations: 13.34 kB / 0.5582 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.023e-05/0.3429, allocations: 34.69 kB / 0.5582 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.651e-05/0.3429, allocations: 8.031 kB / 0.5583 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.521e-05/0.343, allocations: 166.4 kB / 0.5584 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.343, allocations: 0.8906 kB / 0.5584 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-06/0.343, allocations: 2.25 kB / 0.5584 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.072e-05/0.3431, allocations: 32.7 kB / 0.5584 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.3431, allocations: 0 / 0.5584 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.3431, allocations: 2.484 kB / 0.5585 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.3431, allocations: 1.062 kB / 0.5585 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.534e-05/0.3431, allocations: 1.75 kB / 0.5585 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.87e-05/0.3432, allocations: 149 kB / 0.5586 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.847e-05/0.3432, allocations: 22.52 kB / 0.5586 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.247e-05/0.3433, allocations: 10.33 kB / 0.5586 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00037/0.3436, allocations: 0.561 MB / 0.5592 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.3437, allocations: 37.7 kB / 0.5592 GB, free: 32.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3437, allocations: 0 / 0.5592 GB, free: 32.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001003/0.3438, allocations: 36.97 kB / 0.5592 GB, free: 32.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.438e-05/0.3438, allocations: 56.09 kB / 0.5593 GB, free: 32.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.336e-05/0.3438, allocations: 89.86 kB / 0.5594 GB, free: 32.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-06/0.3438, allocations: 27.88 kB / 0.5594 GB, free: 32.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.697e-05/0.3438, allocations: 81.45 kB / 0.5595 GB, free: 32.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3439, allocations: 0 / 0.5595 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.3439, allocations: 13.38 kB / 0.5595 GB, free: 32.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.3439, allocations: 317.9 kB / 0.5598 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.344, allocations: 1.406 kB / 0.5598 GB, free: 31.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.344, allocations: 4.641 kB / 0.5598 GB, free: 31.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.953e-05/0.344, allocations: 9.672 kB / 0.5598 GB, free: 31.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.344, allocations: 0 / 0.5598 GB, free: 31.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.106e-05/0.344, allocations: 36.11 kB / 0.5599 GB, free: 31.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.3441, allocations: 9.125 kB / 0.5599 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3441, allocations: 0 / 0.5599 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.3441, allocations: 5.094 kB / 0.5599 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.676e-05/0.3441, allocations: 2.125 kB / 0.5599 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.3441, allocations: 0 / 0.5599 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.3442, allocations: 7.719 kB / 0.5599 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.3442, allocations: 1.969 kB / 0.5599 GB, free: 31.86 MB / 446.1 MB 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 3.731e-05/0.3442, allocations: 107.9 kB / 0.56 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.3442, allocations: 9.906 kB / 0.56 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.211e-05/0.3443, allocations: 47.23 kB / 0.56 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3443, allocations: 0 / 0.56 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3443, allocations: 0 / 0.56 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3443, allocations: 0.5312 kB / 0.56 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.352e-05/0.3444, allocations: 148.5 kB / 0.5602 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3444, allocations: 0 / 0.5602 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.3444, allocations: 4.625 kB / 0.5602 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3444, allocations: 3.938 kB / 0.5602 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.3444, allocations: 1.188 kB / 0.5602 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3444, allocations: 8.672 kB / 0.5602 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3444, allocations: 2.062 kB / 0.5602 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.372e-05/0.3445, allocations: 60.19 kB / 0.5603 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.3445, allocations: 81.61 kB / 0.5603 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.3445, allocations: 0.5625 kB / 0.5603 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-06/0.3445, allocations: 1.844 kB / 0.5603 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.3445, allocations: 2.266 kB / 0.5603 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.3445, allocations: 0 / 0.5603 GB, free: 31.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.878e-06/0.3445, allocations: 77.31 kB / 0.5604 GB, free: 31.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3446, allocations: 0 / 0.5604 GB, free: 31.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.3447, allocations: 5.359 kB / 0.5604 GB, free: 31.26 MB / 446.1 MB 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.0002269/0.345, allocations: 0.6131 MB / 0.561 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.089e-05/0.345, allocations: 4.906 kB / 0.561 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.345, allocations: 4.531 kB / 0.561 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.3451, allocations: 2.234 kB / 0.561 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.3452, allocations: 2.812 kB / 0.561 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002055/0.3454, allocations: 111.4 kB / 0.5611 GB, free: 30.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.413e-05/0.3455, allocations: 0.676 MB / 0.5618 GB, free: 29.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.92e-05/0.3455, allocations: 2.125 kB / 0.5618 GB, free: 29.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.118e-05/0.3455, allocations: 8.938 kB / 0.5618 GB, free: 29.8 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3455, allocations: 0.5312 kB / 0.5618 GB, free: 29.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/0.4505, allocations: 0.8915 MB / 0.5627 GB, free: 29.63 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.4507, allocations: 206.7 kB / 0.5629 GB, free: 29.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/2.516, allocations: 2.516 kB / 0.5629 GB, free: 29.38 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)