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.001105/0.001105, allocations: 97.69 kB / 16.27 MB, free: 5.973 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.001169/0.001169, allocations: 188.6 kB / 17.19 MB, free: 5.602 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.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7212/0.7212, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 75.89 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3235, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001766/0.3253, allocations: 0.5672 MB / 0.5678 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3265, allocations: 1.25 MB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.3266, allocations: 2.625 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.969e-06/0.3266, allocations: 0 / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-06/0.3266, allocations: 0 / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.3269, allocations: 73.58 kB / 0.5691 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.801e-05/0.327, allocations: 1.219 kB / 0.5691 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.327, allocations: 2.438 kB / 0.5691 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.258e-05/0.3271, allocations: 4.375 kB / 0.5692 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.021e-05/0.3271, allocations: 1.125 kB / 0.5692 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.3271, allocations: 0 / 0.5692 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.3273, allocations: 96.91 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.3273, allocations: 0.9844 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.387e-05/0.3274, allocations: 1.375 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.3275, allocations: 56.45 kB / 0.5693 GB, free: 31.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3275, allocations: 0 / 0.5693 GB, free: 31.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3275, allocations: 0 / 0.5693 GB, free: 31.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.3275, allocations: 4.844 kB / 0.5693 GB, free: 31.42 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.0002289/0.3277, allocations: 331.3 kB / 0.5696 GB, free: 31.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3278, allocations: 10.34 kB / 0.5696 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.3278, allocations: 31.59 kB / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.997e-05/0.3278, allocations: 1.5 kB / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.284e-05/0.3279, allocations: 163 kB / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.3279, allocations: 384 / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.3279, allocations: 2.062 kB / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/0.328, allocations: 33.19 kB / 0.5699 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.328, allocations: 0.8906 kB / 0.5699 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.328, allocations: 2.281 kB / 0.5699 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.328, allocations: 0 / 0.5699 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.3281, allocations: 4.438 kB / 0.5699 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.024e-05/0.3282, allocations: 152.4 kB / 0.57 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.008e-05/0.3282, allocations: 16.98 kB / 0.57 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.3282, allocations: 10.23 kB / 0.57 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004274/0.3286, allocations: 0.5636 MB / 0.5706 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.3287, allocations: 36.62 kB / 0.5706 GB, free: 29.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3287, allocations: 0 / 0.5706 GB, free: 29.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000114/0.3288, allocations: 37.8 kB / 0.5707 GB, free: 29.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.3288, allocations: 53.48 kB / 0.5707 GB, free: 29.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.494e-05/0.3288, allocations: 90.42 kB / 0.5708 GB, free: 29.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.3289, allocations: 31.83 kB / 0.5708 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.097e-06/0.3289, allocations: 80.14 kB / 0.5709 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.3289, allocations: 5.406 kB / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.3289, allocations: 12.98 kB / 0.5709 GB, free: 29.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.329, allocations: 313 kB / 0.5712 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-06/0.329, allocations: 1.969 kB / 0.5712 GB, free: 29.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.329, allocations: 1.188 kB / 0.5712 GB, free: 29.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.228e-05/0.329, allocations: 9.281 kB / 0.5712 GB, free: 29.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.329, allocations: 5.562 kB / 0.5712 GB, free: 29.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.346e-05/0.3291, allocations: 40.34 kB / 0.5713 GB, free: 29.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3291, allocations: 10.23 kB / 0.5713 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3291, allocations: 0 / 0.5713 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3291, allocations: 1.875 kB / 0.5713 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.584e-05/0.3292, allocations: 2.438 kB / 0.5713 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3292, allocations: 0.75 kB / 0.5713 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/0.3292, allocations: 6 kB / 0.5713 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3292, allocations: 0 / 0.5713 GB, free: 29.16 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.495e-05/0.3292, allocations: 112.8 kB / 0.5714 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.3293, allocations: 6.469 kB / 0.5714 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.419e-05/0.3293, allocations: 43.95 kB / 0.5714 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3293, allocations: 1.656 kB / 0.5714 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3293, allocations: 0 / 0.5714 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.3294, allocations: 3.938 kB / 0.5714 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.476e-05/0.3294, allocations: 144.6 kB / 0.5716 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3294, allocations: 3.562 kB / 0.5716 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.3294, allocations: 1.281 kB / 0.5716 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3294, allocations: 3.938 kB / 0.5716 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.3294, allocations: 1.531 kB / 0.5716 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3295, allocations: 1.406 kB / 0.5716 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3295, allocations: 1.125 kB / 0.5716 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.754e-05/0.3295, allocations: 58.45 kB / 0.5717 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.3295, allocations: 84.14 kB / 0.5717 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.3295, allocations: 0.9844 kB / 0.5717 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-06/0.3296, allocations: 1.125 kB / 0.5717 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.3296, allocations: 1.062 kB / 0.5717 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.3296, allocations: 2.094 kB / 0.5717 GB, free: 28.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.103e-05/0.3296, allocations: 76.03 kB / 0.5718 GB, free: 28.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3296, allocations: 0 / 0.5718 GB, free: 28.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001978/0.3298, allocations: 10.59 kB / 0.5718 GB, free: 28.56 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.0002133/0.33, allocations: 0.6091 MB / 0.5724 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.811e-05/0.3301, allocations: 5.281 kB / 0.5724 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3301, allocations: 0 / 0.5724 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-06/0.3301, allocations: 7.5 kB / 0.5724 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.3302, allocations: 9.969 kB / 0.5724 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.3305, allocations: 104.1 kB / 0.5725 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.366e-05/0.3305, allocations: 0.6765 MB / 0.5732 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.904e-05/0.3306, allocations: 3 kB / 0.5732 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.112e-05/0.3306, allocations: 7.438 kB / 0.5732 GB, free: 27.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3306, allocations: 1.25 kB / 0.5732 GB, free: 27.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.3455, allocations: 0.9987 MB / 0.5742 GB, free: 26.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.452, allocations: 9.922 kB / 0.5742 GB, free: 26.8 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)