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.0006851/0.000685, allocations: 92.78 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007175/0.0007174, allocations: 169.8 kB / 16.58 MB, free: 5.656 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.157/1.157, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6004/0.6004, allocations: 113.7 MB / 405.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002585, allocations: 12 kB / 493.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 77.12 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0005768/0.1166, allocations: 295.2 kB / 0.5572 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1179, allocations: 1.2 MB / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-06/0.1179, allocations: 0 / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.005e-05/0.1179, allocations: 0 / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.679e-06/0.1179, allocations: 0 / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1182, allocations: 47.89 kB / 0.5584 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.921e-05/0.1182, allocations: 3.984 kB / 0.5584 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.163e-05/0.1182, allocations: 4 kB / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.069e-05/0.1182, allocations: 0 / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.612e-05/0.1183, allocations: 3.938 kB / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-06/0.1183, allocations: 0 / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1185, allocations: 99.89 kB / 0.5585 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-06/0.1185, allocations: 0 / 0.5585 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.1185, allocations: 25.7 kB / 0.5585 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.471e-05/0.1186, allocations: 35.95 kB / 0.5586 GB, free: 9.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1186, allocations: 4 kB / 0.5586 GB, free: 9.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1186, allocations: 3.938 kB / 0.5586 GB, free: 9.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.1186, allocations: 0 / 0.5586 GB, free: 9.898 MB / 430.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.0002171/0.1189, allocations: 327.4 kB / 0.5589 GB, free: 9.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1189, allocations: 8.031 kB / 0.5589 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.395e-05/0.1189, allocations: 34.56 kB / 0.5589 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.534e-05/0.1189, allocations: 0 / 0.5589 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.917e-05/0.119, allocations: 163.1 kB / 0.5591 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.119, allocations: 0 / 0.5591 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.119, allocations: 4 kB / 0.5591 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.375e-05/0.1191, allocations: 37.59 kB / 0.5591 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.1191, allocations: 0 / 0.5591 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-06/0.1191, allocations: 0 / 0.5591 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.1191, allocations: 0 / 0.5591 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.608e-05/0.1192, allocations: 4 kB / 0.5591 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.1193, allocations: 145.7 kB / 0.5593 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.988e-05/0.1193, allocations: 22.56 kB / 0.5593 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.127e-05/0.1193, allocations: 8.859 kB / 0.5593 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004627/0.1198, allocations: 0.5661 MB / 0.5599 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1198, allocations: 34.55 kB / 0.5599 GB, free: 8.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1198, allocations: 0 / 0.5599 GB, free: 8.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001089/0.1199, allocations: 41.75 kB / 0.5599 GB, free: 8.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.12, allocations: 51.41 kB / 0.56 GB, free: 8.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.826e-05/0.12, allocations: 93.86 kB / 0.5601 GB, free: 8.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.12, allocations: 25.7 kB / 0.5601 GB, free: 8.016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.398e-05/0.1201, allocations: 80.14 kB / 0.5602 GB, free: 7.934 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.1201, allocations: 3.906 kB / 0.5602 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.1201, allocations: 0 / 0.5602 GB, free: 7.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.1202, allocations: 310.8 kB / 0.5605 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-06/0.1202, allocations: 4 kB / 0.5605 GB, free: 7.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.1202, allocations: 7.969 kB / 0.5605 GB, free: 7.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.383e-05/0.1202, allocations: 0 / 0.5605 GB, free: 7.605 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1202, allocations: 3.984 kB / 0.5605 GB, free: 7.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.252e-05/0.1203, allocations: 33.7 kB / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.1203, allocations: 4 kB / 0.5605 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.1203, allocations: 0 / 0.5605 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1203, allocations: 0 / 0.5605 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.795e-05/0.1204, allocations: 7.953 kB / 0.5605 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1204, allocations: 0 / 0.5605 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.081e-05/0.1204, allocations: 12.03 kB / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.1204, allocations: 0 / 0.5605 GB, free: 7.539 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.875e-05/0.1205, allocations: 106.5 kB / 0.5606 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.1205, allocations: 7.984 kB / 0.5607 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.456e-05/0.1206, allocations: 40.98 kB / 0.5607 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1206, allocations: 0 / 0.5607 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1206, allocations: 3.953 kB / 0.5607 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1206, allocations: 4.031 kB / 0.5607 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.663e-05/0.1207, allocations: 157.7 kB / 0.5609 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1207, allocations: 0 / 0.5609 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.237e-05/0.1207, allocations: 0 / 0.5609 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1207, allocations: 0 / 0.5609 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.1207, allocations: 0 / 0.5609 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1207, allocations: 7.984 kB / 0.5609 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1207, allocations: 0 / 0.5609 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.425e-05/0.1208, allocations: 65.02 kB / 0.5609 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.1208, allocations: 85.05 kB / 0.561 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.1208, allocations: 4 kB / 0.561 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.1208, allocations: 0 / 0.561 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.1209, allocations: 3.984 kB / 0.561 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.1209, allocations: 0 / 0.561 GB, free: 6.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.896e-05/0.1209, allocations: 75.28 kB / 0.5611 GB, free: 6.883 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1209, allocations: 0 / 0.5611 GB, free: 6.883 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001717/0.1211, allocations: 7.953 kB / 0.5611 GB, free: 6.875 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002909/0.1214, allocations: 0.6054 MB / 0.5617 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.072e-05/0.1214, allocations: 11.92 kB / 0.5617 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1214, allocations: 0 / 0.5617 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.561e-06/0.1214, allocations: 0 / 0.5617 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.1216, allocations: 4.156 kB / 0.5617 GB, free: 6.223 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.1218, allocations: 112.4 kB / 0.5618 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.1219, allocations: 0.6731 MB / 0.5625 GB, free: 5.375 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.718e-05/0.122, allocations: 4 kB / 0.5625 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.122, allocations: 7.438 kB / 0.5625 GB, free: 5.363 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.122, allocations: 0 / 0.5625 GB, free: 5.363 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008918/0.1309, allocations: 0.8326 MB / 0.5633 GB, free: 4.676 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001329/0.1311, allocations: 193.1 kB / 0.5635 GB, free: 4.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.36/1.491, allocations: 2.25 kB / 0.5635 GB, free: 4.438 MB / 430.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/linux/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) Environment - environmentSimulation: