Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 104.7 kB / 16.36 MB, free: 5.875 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.001051/0.001051, allocations: 191 kB / 17.29 MB, free: 5.516 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 290.9 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8982/0.8982, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 94.67 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1469, allocations: 86.98 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002503/0.1494, allocations: 1.489 MB / 0.683 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000994/0.1504, allocations: 0.656 MB / 0.6837 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.1505, allocations: 0 / 0.6837 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.1505, allocations: 3.938 kB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.915e-05/0.1506, allocations: 7.922 kB / 0.6837 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.1509, allocations: 79.67 kB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.1509, allocations: 35.92 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.151, allocations: 19.92 kB / 0.6838 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.1511, allocations: 19.92 kB / 0.6838 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.1512, allocations: 19.86 kB / 0.6839 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1512, allocations: 0 / 0.6839 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1514, allocations: 99.89 kB / 0.684 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1514, allocations: 7.984 kB / 0.684 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.1514, allocations: 19.88 kB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1516, allocations: 83.83 kB / 0.6841 GB, free: 4.887 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1516, allocations: 3.938 kB / 0.6841 GB, free: 4.883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1516, allocations: 0 / 0.6841 GB, free: 4.883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1516, allocations: 0 / 0.6841 GB, free: 4.883 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003849/0.152, allocations: 363.4 kB / 0.6844 GB, free: 4.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.152, allocations: 11.97 kB / 0.6844 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.1521, allocations: 8.844 kB / 0.6844 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1522, allocations: 168.4 kB / 0.6846 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1522, allocations: 384 / 0.6846 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.1522, allocations: 4.375 kB / 0.6846 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1523, allocations: 58 kB / 0.6847 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-06/0.1523, allocations: 0 / 0.6847 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1524, allocations: 0 / 0.6847 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1524, allocations: 0 / 0.6847 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.399e-05/0.1525, allocations: 35.91 kB / 0.6847 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.1528, allocations: 284.6 kB / 0.685 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.496e-05/0.1529, allocations: 34.58 kB / 0.685 GB, free: 3.785 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.1529, allocations: 16.91 kB / 0.685 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004269/0.1534, allocations: 0.5544 MB / 0.6856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1534, allocations: 34.5 kB / 0.6856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1534, allocations: 8 kB / 0.6856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002129/0.1536, allocations: 65.58 kB / 0.6857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.1536, allocations: 51.41 kB / 0.6857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.1537, allocations: 125.8 kB / 0.6858 GB, free: 2.766 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1538, allocations: 25.7 kB / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.1538, allocations: 88.14 kB / 0.6859 GB, free: 2.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.1538, allocations: 3.906 kB / 0.6859 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.1538, allocations: 21.84 kB / 0.686 GB, free: 2.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.1539, allocations: 318.8 kB / 0.6863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.154, allocations: 12 kB / 0.6863 GB, free: 2.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.154, allocations: 11.92 kB / 0.6863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.1541, allocations: 28.84 kB / 0.6863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1541, allocations: 0 / 0.6863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001115/0.1542, allocations: 65.66 kB / 0.6864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1543, allocations: 5.875 kB / 0.6864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1543, allocations: 0 / 0.6864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1543, allocations: 0 / 0.6864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.1543, allocations: 7.984 kB / 0.6864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.1544, allocations: 3.938 kB / 0.6864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.1544, allocations: 4 kB / 0.6864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1544, allocations: 0 / 0.6864 GB, free: 2.148 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 6.526e-05/0.1545, allocations: 117.7 kB / 0.6865 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.1545, allocations: 4.031 kB / 0.6865 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.1547, allocations: 65.2 kB / 0.6866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1547, allocations: 0 / 0.6866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1547, allocations: 0 / 0.6866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1547, allocations: 7.969 kB / 0.6866 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1548, allocations: 173.5 kB / 0.6867 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1548, allocations: 0 / 0.6867 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.1549, allocations: 4 kB / 0.6868 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1549, allocations: 0 / 0.6868 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1549, allocations: 4.031 kB / 0.6868 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1549, allocations: 4 kB / 0.6868 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1549, allocations: 0 / 0.6868 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.1551, allocations: 155.4 kB / 0.6869 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.1551, allocations: 85.02 kB / 0.687 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1551, allocations: 0 / 0.687 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.053e-05/0.1552, allocations: 7.969 kB / 0.687 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.1552, allocations: 7.984 kB / 0.687 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1552, allocations: 0 / 0.687 GB, free: 1.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.545e-05/0.1553, allocations: 91.27 kB / 0.6871 GB, free: 1.336 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1553, allocations: 0 / 0.6871 GB, free: 1.336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00022/0.1555, allocations: 19.94 kB / 0.6871 GB, free: 1.316 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.0001287/0.1557, allocations: 103.2 kB / 0.6872 GB, free: 1.207 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.1558, allocations: 27.98 kB / 0.6872 GB, free: 1.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1558, allocations: 3.938 kB / 0.6872 GB, free: 1.176 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.1558, allocations: 11.98 kB / 0.6873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.156, allocations: 7.938 kB / 0.6873 GB, free: 1.156 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.1563, allocations: 130.8 kB / 0.6874 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.1565, allocations: 0.6846 MB / 0.6881 GB, free: 300 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.335e-05/0.1566, allocations: 12.06 kB / 0.6881 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.1566, allocations: 7.438 kB / 0.6881 GB, free: 280 kB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1566, allocations: 0 / 0.6881 GB, free: 280 kB / 494.1 MB Notification: Performance of Templates: time 0.2295/0.386, allocations: 496.7 kB / 0.6885 GB, free: 17.77 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)