Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",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.001222/0.001222, allocations: 107.3 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.001295/0.001295, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.715/0.715, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 66.92 kB / 0.5572 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1507, allocations: 76.17 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.003073/0.1538, allocations: 1.497 MB / 0.633 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.155, allocations: 0.6436 MB / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.1551, allocations: 0 / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.436e-05/0.1551, allocations: 3.938 kB / 0.6337 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.805e-05/0.1552, allocations: 3.938 kB / 0.6337 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.1556, allocations: 83.72 kB / 0.6338 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.1557, allocations: 43.84 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1558, allocations: 12 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.1559, allocations: 19.92 kB / 0.6338 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.156, allocations: 15.92 kB / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.156, allocations: 4 kB / 0.6339 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.1562, allocations: 95.89 kB / 0.6339 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.1563, allocations: 7.938 kB / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.1563, allocations: 15.92 kB / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.1565, allocations: 94.58 kB / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1565, allocations: 0 / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.1566, allocations: 4 kB / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1566, allocations: 0 / 0.6341 GB, free: 2.332 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005471/0.1571, allocations: 368.1 kB / 0.6344 GB, free: 1.926 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1572, allocations: 8.031 kB / 0.6344 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.1572, allocations: 38.73 kB / 0.6345 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.1573, allocations: 0.9375 kB / 0.6345 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1574, allocations: 168.3 kB / 0.6346 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.1575, allocations: 4.375 kB / 0.6346 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1575, allocations: 4.375 kB / 0.6346 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.1577, allocations: 61.78 kB / 0.6347 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1577, allocations: 4 kB / 0.6347 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1577, allocations: 0 / 0.6347 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1577, allocations: 4 kB / 0.6347 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.1578, allocations: 23.92 kB / 0.6347 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.1583, allocations: 280.7 kB / 0.635 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.987e-05/0.1584, allocations: 34.5 kB / 0.635 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.1585, allocations: 20.92 kB / 0.635 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005387/0.159, allocations: 0.5661 MB / 0.6356 GB, free: 488 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.159, allocations: 34.5 kB / 0.6356 GB, free: 444 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.159, allocations: 0 / 0.6356 GB, free: 444 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002576/0.1593, allocations: 69.67 kB / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1594, allocations: 51.41 kB / 0.6357 GB, free: 304 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1595, allocations: 125.7 kB / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1595, allocations: 25.7 kB / 0.6359 GB, free: 136 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.1596, allocations: 96.03 kB / 0.636 GB, free: 36 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1596, allocations: 4 kB / 0.636 GB, free: 32 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.1596, allocations: 9.719 kB / 0.636 GB, free: 16 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1598, allocations: 322.8 kB / 0.6363 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.1599, allocations: 12.11 kB / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.1599, allocations: 15.94 kB / 0.6363 GB, free: 15.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.648e-05/0.16, allocations: 24.84 kB / 0.6363 GB, free: 15.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.16, allocations: 0 / 0.6363 GB, free: 15.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.1601, allocations: 57.58 kB / 0.6364 GB, free: 15.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1602, allocations: 8 kB / 0.6364 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1602, allocations: 4.094 kB / 0.6364 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1602, allocations: 0 / 0.6364 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.175e-05/0.1603, allocations: 4 kB / 0.6364 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1603, allocations: 0 / 0.6364 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.1603, allocations: 7.984 kB / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1603, allocations: 3.938 kB / 0.6364 GB, free: 15.55 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 (2): * Single equations (assignments): 2 * 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 9.636e-05/0.1604, allocations: 113.8 kB / 0.6365 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1605, allocations: 7.906 kB / 0.6365 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.1607, allocations: 65.2 kB / 0.6366 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1607, allocations: 0 / 0.6366 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1607, allocations: 0 / 0.6366 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1607, allocations: 4 kB / 0.6366 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.1609, allocations: 165.6 kB / 0.6368 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1609, allocations: 4 kB / 0.6368 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.1609, allocations: 11.92 kB / 0.6368 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1609, allocations: 0 / 0.6368 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1609, allocations: 0 / 0.6368 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1609, allocations: 0 / 0.6368 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.161, allocations: 4.031 kB / 0.6368 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.1611, allocations: 155.4 kB / 0.6369 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.1612, allocations: 85 kB / 0.637 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1612, allocations: 0 / 0.637 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.1613, allocations: 4 kB / 0.637 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.1613, allocations: 0 / 0.637 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1613, allocations: 0 / 0.637 GB, free: 14.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.413e-05/0.1614, allocations: 107.2 kB / 0.6371 GB, free: 14.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1614, allocations: 3.938 kB / 0.6371 GB, free: 14.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1616, allocations: 12 kB / 0.6371 GB, free: 14.71 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 (2): * Single equations (assignments): 2 * 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.0005207/0.1622, allocations: 0.6929 MB / 0.6378 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.1623, allocations: 31.97 kB / 0.6378 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1623, allocations: 0 / 0.6378 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.1624, allocations: 12 kB / 0.6379 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.1626, allocations: 1.406 kB / 0.6379 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.164, allocations: 1.308 MB / 0.6391 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1643, allocations: 0.6846 MB / 0.6398 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.595e-05/0.1643, allocations: 0 / 0.6398 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.1644, allocations: 19.42 kB / 0.6398 GB, free: 11.84 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1644, allocations: 0 / 0.6398 GB, free: 11.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.1814, allocations: 1.513 MB / 0.6413 GB, free: 10.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.802, allocations: 14.88 kB / 0.6413 GB, free: 10.38 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)