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.001454/0.001461, allocations: 103.6 kB / 16.4 MB, free: 6.477 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.001561/0.001561, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7658/0.7658, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.56 kB / 0.5572 GB, free: 32.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.148, allocations: 76.18 MB / 0.6316 GB, free: 4.977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002103/0.1502, allocations: 0.5634 MB / 0.6322 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1519, allocations: 1.256 MB / 0.6334 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.152, allocations: 0 / 0.6334 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.152, allocations: 4 kB / 0.6334 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.142e-06/0.1521, allocations: 0 / 0.6334 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.1524, allocations: 67.73 kB / 0.6335 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.373e-05/0.1525, allocations: 8 kB / 0.6335 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.1525, allocations: 0 / 0.6335 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.1526, allocations: 7.984 kB / 0.6335 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.1526, allocations: 3.938 kB / 0.6335 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.204e-06/0.1526, allocations: 0 / 0.6335 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.1529, allocations: 95.89 kB / 0.6336 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1529, allocations: 0 / 0.6336 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.1529, allocations: 0 / 0.6336 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1531, allocations: 55.88 kB / 0.6336 GB, free: 2.906 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1531, allocations: 0 / 0.6336 GB, free: 2.906 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1531, allocations: 0 / 0.6336 GB, free: 2.906 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1531, allocations: 4 kB / 0.6336 GB, free: 2.902 MB / 478.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.0003644/0.1535, allocations: 331.5 kB / 0.634 GB, free: 2.531 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1535, allocations: 8.031 kB / 0.634 GB, free: 2.523 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.1536, allocations: 30.75 kB / 0.634 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.1536, allocations: 0.9375 kB / 0.634 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1537, allocations: 168.4 kB / 0.6342 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1538, allocations: 384 / 0.6342 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.1538, allocations: 384 / 0.6342 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.78e-05/0.1539, allocations: 29.83 kB / 0.6342 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1539, allocations: 8 kB / 0.6342 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1539, allocations: 0 / 0.6342 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1539, allocations: 4 kB / 0.6342 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.1539, allocations: 3.984 kB / 0.6342 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.1541, allocations: 149.7 kB / 0.6343 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.1541, allocations: 22.55 kB / 0.6344 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.1542, allocations: 4.859 kB / 0.6344 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/0.1548, allocations: 0.5623 MB / 0.6349 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1548, allocations: 42.48 kB / 0.635 GB, free: 1.254 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1548, allocations: 0 / 0.635 GB, free: 1.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001313/0.155, allocations: 33.64 kB / 0.635 GB, free: 1.215 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.155, allocations: 51.41 kB / 0.635 GB, free: 1.152 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.201e-05/0.1551, allocations: 89.98 kB / 0.6351 GB, free: 1.055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.1551, allocations: 29.7 kB / 0.6352 GB, free: 1.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.1551, allocations: 80.14 kB / 0.6352 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.1551, allocations: 11.91 kB / 0.6352 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.1552, allocations: 9.719 kB / 0.6353 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1553, allocations: 314.8 kB / 0.6356 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.1553, allocations: 3.938 kB / 0.6356 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.1553, allocations: 4 kB / 0.6356 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.1554, allocations: 8.922 kB / 0.6356 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1554, allocations: 4 kB / 0.6356 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.82e-05/0.1554, allocations: 37.64 kB / 0.6356 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.1555, allocations: 7.938 kB / 0.6356 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1555, allocations: 0 / 0.6356 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1555, allocations: 3.938 kB / 0.6356 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.075e-05/0.1555, allocations: 4 kB / 0.6356 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1556, allocations: 0 / 0.6356 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.1556, allocations: 3.984 kB / 0.6356 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1556, allocations: 0 / 0.6356 GB, free: 0.5078 MB / 478.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 8.089e-05/0.1557, allocations: 113.9 kB / 0.6357 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.1557, allocations: 3.938 kB / 0.6357 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.997e-05/0.1558, allocations: 39.64 kB / 0.6358 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1558, allocations: 0 / 0.6358 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1558, allocations: 3.984 kB / 0.6358 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1558, allocations: 4 kB / 0.6358 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.823e-05/0.1559, allocations: 141.7 kB / 0.6359 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1559, allocations: 7.938 kB / 0.6359 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.156, allocations: 0 / 0.6359 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.156, allocations: 3.938 kB / 0.6359 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.156, allocations: 4 kB / 0.6359 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.156, allocations: 0 / 0.6359 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.156, allocations: 0 / 0.6359 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.479e-05/0.1561, allocations: 57.12 kB / 0.636 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.1561, allocations: 93.08 kB / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.1561, allocations: 0 / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-06/0.1561, allocations: 0 / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.1562, allocations: 0 / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.1562, allocations: 0 / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.5e-05/0.1562, allocations: 75.28 kB / 0.6361 GB, free: 15.87 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1562, allocations: 0 / 0.6361 GB, free: 15.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.1564, allocations: 15.98 kB / 0.6362 GB, free: 15.86 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.0004153/0.1568, allocations: 0.6085 MB / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.966e-05/0.1569, allocations: 7.938 kB / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1569, allocations: 0 / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/0.1569, allocations: 4 kB / 0.6368 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1571, allocations: 0 / 0.6368 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.1574, allocations: 122.8 kB / 0.6369 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1576, allocations: 0.669 MB / 0.6375 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.89e-05/0.1577, allocations: 0 / 0.6375 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.1577, allocations: 7.438 kB / 0.6375 GB, free: 14.34 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1577, allocations: 0 / 0.6375 GB, free: 14.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.1765, allocations: 1.027 MB / 0.6385 GB, free: 13.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.779, allocations: 22.39 kB / 0.6386 GB, free: 13.38 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 & /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)