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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.551/0.551, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.5 MB / 343.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009013/0.0009012, allocations: 89.75 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.421e-05, allocations: 4 kB / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1607, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4918/0.6526, allocations: 102 MB / 0.6532 GB, free: 8.039 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.653, allocations: 72.7 kB / 0.6533 GB, free: 8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006626/0.6596, allocations: 2.212 MB / 0.6554 GB, free: 6.137 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6596, allocations: 3.938 kB / 0.6554 GB, free: 6.133 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.6596, allocations: 4 kB / 0.6554 GB, free: 6.129 MB / 458.7 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.0003851/0.66, allocations: 366.4 kB / 0.6558 GB, free: 5.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.6601, allocations: 12.03 kB / 0.6558 GB, free: 5.719 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.6601, allocations: 7.859 kB / 0.6558 GB, free: 5.711 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.6603, allocations: 167.1 kB / 0.656 GB, free: 5.508 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.6603, allocations: 0 / 0.656 GB, free: 5.508 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.6603, allocations: 4 kB / 0.656 GB, free: 5.504 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.649e-05/0.6604, allocations: 14.75 kB / 0.656 GB, free: 5.496 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.6605, allocations: 49.67 kB / 0.656 GB, free: 5.445 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6605, allocations: 0 / 0.656 GB, free: 5.445 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6605, allocations: 7.953 kB / 0.656 GB, free: 5.438 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6605, allocations: 0 / 0.656 GB, free: 5.438 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.6609, allocations: 246.1 kB / 0.6563 GB, free: 5.172 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/0.661, allocations: 25.45 kB / 0.6563 GB, free: 5.141 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.661, allocations: 20.09 kB / 0.6563 GB, free: 5.121 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004764/0.6615, allocations: 0.5544 MB / 0.6569 GB, free: 4.438 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.6616, allocations: 41.83 kB / 0.6569 GB, free: 4.391 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6616, allocations: 0 / 0.6569 GB, free: 4.391 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001848/0.6617, allocations: 37.08 kB / 0.6569 GB, free: 4.352 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.6618, allocations: 55.39 kB / 0.657 GB, free: 4.285 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.6619, allocations: 100.2 kB / 0.6571 GB, free: 4.184 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.6619, allocations: 33.73 kB / 0.6571 GB, free: 4.145 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.662, allocations: 90.3 kB / 0.6572 GB, free: 4.055 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.662, allocations: 7.047 kB / 0.6572 GB, free: 4.051 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.662, allocations: 0 / 0.6572 GB, free: 4.051 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6621, allocations: 314.8 kB / 0.6575 GB, free: 3.734 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.6621, allocations: 2.062 kB / 0.6575 GB, free: 3.734 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.6621, allocations: 6.562 kB / 0.6575 GB, free: 3.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.6622, allocations: 11.62 kB / 0.6575 GB, free: 3.723 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6622, allocations: 4.062 kB / 0.6575 GB, free: 3.719 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.566e-05/0.6623, allocations: 49.16 kB / 0.6576 GB, free: 3.668 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.6623, allocations: 14.19 kB / 0.6576 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6623, allocations: 0 / 0.6576 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.6624, allocations: 3.953 kB / 0.6576 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.6624, allocations: 7.984 kB / 0.6576 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6624, allocations: 0 / 0.6576 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.6625, allocations: 4 kB / 0.6576 GB, free: 3.641 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.6625, allocations: 0 / 0.6576 GB, free: 3.641 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/0.6626, allocations: 109 kB / 0.6577 GB, free: 3.527 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001015/0.6627, allocations: 48.81 kB / 0.6578 GB, free: 3.477 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.6627, allocations: 11.8 kB / 0.6578 GB, free: 3.465 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.6628, allocations: 55.34 kB / 0.6578 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6629, allocations: 0 / 0.6578 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.6629, allocations: 3.984 kB / 0.6578 GB, free: 3.414 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6629, allocations: 0 / 0.6578 GB, free: 3.414 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.663, allocations: 137.5 kB / 0.658 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.663, allocations: 4.062 kB / 0.658 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.6631, allocations: 11.98 kB / 0.658 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6631, allocations: 0 / 0.658 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.6631, allocations: 0 / 0.658 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.6631, allocations: 3.953 kB / 0.658 GB, free: 3.227 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6631, allocations: 0 / 0.658 GB, free: 3.227 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.6633, allocations: 142.6 kB / 0.6581 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.6633, allocations: 85.02 kB / 0.6582 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.6633, allocations: 4.031 kB / 0.6582 GB, free: 2.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.925e-05/0.6634, allocations: 4 kB / 0.6582 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.6634, allocations: 11.92 kB / 0.6582 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.6634, allocations: 0 / 0.6582 GB, free: 2.957 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.6635, allocations: 86.34 kB / 0.6583 GB, free: 2.875 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6635, allocations: 0 / 0.6583 GB, free: 2.875 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.6637, allocations: 15.94 kB / 0.6583 GB, free: 2.859 MB / 458.7 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 () * 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 (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.000448/0.6642, allocations: 0.6865 MB / 0.659 GB, free: 2.152 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.8e-05/0.6642, allocations: 15.69 kB / 0.659 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6643, allocations: 4 kB / 0.659 GB, free: 2.137 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/0.6643, allocations: 4 kB / 0.659 GB, free: 2.133 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.6644, allocations: 6.203 kB / 0.659 GB, free: 2.129 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.6648, allocations: 112.8 kB / 0.6591 GB, free: 1.984 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.665, allocations: 0.6885 MB / 0.6598 GB, free: 1.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.189e-05/0.6651, allocations: 0 / 0.6598 GB, free: 1.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.6651, allocations: 14.81 kB / 0.6598 GB, free: 1.262 MB / 458.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6651, allocations: 0 / 0.6598 GB, free: 1.262 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.6861, allocations: 0.8317 MB / 0.6606 GB, free: 448 kB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.6863, allocations: 122.2 kB / 0.6607 GB, free: 252 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.301, allocations: 0 / 0.6607 GB, free: 252 kB / 458.7 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/linux/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)