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.001416/0.001416, allocations: 105.1 kB / 16.4 MB, free: 6.508 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.001655/0.001655, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7947/0.7947, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 68.55 kB / 0.568 GB, free: 29.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.138, allocations: 77.93 MB / 0.6441 GB, free: 9.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00162/0.1396, allocations: 0.5727 MB / 0.6447 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1413, allocations: 1.248 MB / 0.6459 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.1413, allocations: 0 / 0.6459 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.1413, allocations: 4 kB / 0.6459 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.1414, allocations: 4 kB / 0.6459 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.1419, allocations: 63.75 kB / 0.6459 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.142, allocations: 0 / 0.6459 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.142, allocations: 3.984 kB / 0.646 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.1421, allocations: 4 kB / 0.646 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.1421, allocations: 0 / 0.646 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-06/0.1421, allocations: 0 / 0.646 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.1424, allocations: 111.8 kB / 0.6461 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.1424, allocations: 0 / 0.6461 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.1424, allocations: 7.938 kB / 0.6461 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1425, allocations: 52.16 kB / 0.6461 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1426, allocations: 0 / 0.6461 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1426, allocations: 0 / 0.6461 GB, free: 7.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1426, allocations: 0 / 0.6461 GB, free: 7.52 MB / 494.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.0003058/0.1429, allocations: 327.4 kB / 0.6464 GB, free: 7.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1429, allocations: 8.625 kB / 0.6464 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.143, allocations: 30.75 kB / 0.6465 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.143, allocations: 0.9375 kB / 0.6465 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1431, allocations: 172.4 kB / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1432, allocations: 384 / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.1432, allocations: 384 / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.856e-05/0.1433, allocations: 33.83 kB / 0.6467 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1433, allocations: 0 / 0.6467 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1433, allocations: 0 / 0.6467 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1433, allocations: 4 kB / 0.6467 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.238e-05/0.1433, allocations: 7.875 kB / 0.6467 GB, free: 6.848 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.1435, allocations: 141.7 kB / 0.6468 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/0.1436, allocations: 26.59 kB / 0.6468 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.1436, allocations: 8.859 kB / 0.6468 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/0.1442, allocations: 0.5545 MB / 0.6474 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.1442, allocations: 38.5 kB / 0.6474 GB, free: 5.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1442, allocations: 0 / 0.6474 GB, free: 5.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000148/0.1444, allocations: 45.62 kB / 0.6475 GB, free: 5.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1444, allocations: 51.41 kB / 0.6475 GB, free: 5.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.852e-05/0.1445, allocations: 89.86 kB / 0.6476 GB, free: 5.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1445, allocations: 25.7 kB / 0.6476 GB, free: 5.641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.1445, allocations: 80.14 kB / 0.6477 GB, free: 5.559 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.1446, allocations: 7.953 kB / 0.6477 GB, free: 5.551 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.1446, allocations: 13.66 kB / 0.6477 GB, free: 5.531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1447, allocations: 315 kB / 0.648 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.1447, allocations: 0 / 0.648 GB, free: 5.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.1448, allocations: 11.98 kB / 0.648 GB, free: 5.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.1448, allocations: 8.859 kB / 0.648 GB, free: 5.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1448, allocations: 7.938 kB / 0.6481 GB, free: 5.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.626e-05/0.1449, allocations: 29.7 kB / 0.6481 GB, free: 5.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1449, allocations: 7.938 kB / 0.6481 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1449, allocations: 0 / 0.6481 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1449, allocations: 96 / 0.6481 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.606e-05/0.145, allocations: 8 kB / 0.6481 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.145, allocations: 0 / 0.6481 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.145, allocations: 0 / 0.6481 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.145, allocations: 0 / 0.6481 GB, free: 5.133 MB / 494.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 7.299e-05/0.1451, allocations: 113.8 kB / 0.6482 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-06/0.1451, allocations: 3.938 kB / 0.6482 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.1452, allocations: 44.77 kB / 0.6483 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1452, allocations: 0 / 0.6483 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1452, allocations: 0 / 0.6483 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1452, allocations: 4 kB / 0.6483 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.424e-05/0.1453, allocations: 145.7 kB / 0.6484 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1453, allocations: 0 / 0.6484 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.1454, allocations: 0 / 0.6484 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1454, allocations: 3.938 kB / 0.6484 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1454, allocations: 4 kB / 0.6484 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1454, allocations: 0 / 0.6484 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1454, allocations: 0 / 0.6484 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.96e-05/0.1455, allocations: 61.16 kB / 0.6485 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.1456, allocations: 85.05 kB / 0.6485 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.1456, allocations: 3.938 kB / 0.6485 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.1456, allocations: 3.938 kB / 0.6486 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.1456, allocations: 3.984 kB / 0.6486 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1456, allocations: 0 / 0.6486 GB, free: 4.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.885e-05/0.1456, allocations: 76.41 kB / 0.6486 GB, free: 4.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1457, allocations: 4.031 kB / 0.6486 GB, free: 4.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.1459, allocations: 8 kB / 0.6486 GB, free: 4.477 MB / 494.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.0004088/0.1463, allocations: 0.6116 MB / 0.6492 GB, free: 3.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.286e-05/0.1464, allocations: 11.94 kB / 0.6492 GB, free: 3.824 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1464, allocations: 4.094 kB / 0.6493 GB, free: 3.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.927e-06/0.1464, allocations: 4 kB / 0.6493 GB, free: 3.816 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1465, allocations: 1.875 kB / 0.6493 GB, free: 3.816 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.1468, allocations: 102.6 kB / 0.6494 GB, free: 3.676 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.1471, allocations: 0.6729 MB / 0.65 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.321e-05/0.1471, allocations: 4 kB / 0.65 GB, free: 2.973 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.1472, allocations: 11.44 kB / 0.65 GB, free: 2.961 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1472, allocations: 4.062 kB / 0.65 GB, free: 2.957 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.1638, allocations: 1.021 MB / 0.651 GB, free: 2.027 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.643, allocations: 9.328 kB / 0.651 GB, free: 2.02 MB / 494.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)