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.005508/0.005508, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001243/0.001243, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 288.5 kB / 290.8 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.9396/0.9396, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 95.86 kB / 0.6815 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4228, allocations: 86.97 MB / 0.7664 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.00257/0.4254, allocations: 1.506 MB / 0.7679 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.4264, allocations: 0.6414 MB / 0.7685 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.4265, allocations: 7.938 kB / 0.7685 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.4265, allocations: 3.938 kB / 0.7685 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.4266, allocations: 7.922 kB / 0.7685 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.427, allocations: 79.73 kB / 0.7686 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.764e-05/0.427, allocations: 39.84 kB / 0.7686 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.4271, allocations: 15.8 kB / 0.7686 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.146e-05/0.4272, allocations: 23.92 kB / 0.7687 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.4273, allocations: 15.92 kB / 0.7687 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.4273, allocations: 0 / 0.7687 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.4275, allocations: 103.9 kB / 0.7688 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.4275, allocations: 11.92 kB / 0.7688 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.4276, allocations: 11.94 kB / 0.7688 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.4277, allocations: 83.3 kB / 0.7689 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.4278, allocations: 0 / 0.7689 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4278, allocations: 0 / 0.7689 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.4278, allocations: 0 / 0.7689 GB, free: 1.285 MB / 0.5294 GB 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.0004343/0.4282, allocations: 381.4 kB / 0.7692 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4283, allocations: 8.031 kB / 0.7692 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.4283, allocations: 8.875 kB / 0.7693 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.4284, allocations: 164.3 kB / 0.7694 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.4284, allocations: 4.375 kB / 0.7694 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.4284, allocations: 384 / 0.7694 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.4286, allocations: 61.98 kB / 0.7695 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.4286, allocations: 0 / 0.7695 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.4286, allocations: 0 / 0.7695 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4286, allocations: 4 kB / 0.7695 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.125e-05/0.4287, allocations: 27.98 kB / 0.7695 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.4291, allocations: 284.7 kB / 0.7698 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.76e-05/0.4292, allocations: 34.56 kB / 0.7698 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.4292, allocations: 8.922 kB / 0.7698 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/0.4297, allocations: 0.5661 MB / 0.7704 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.4297, allocations: 34.5 kB / 0.7704 GB, free: 15.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.4298, allocations: 7.938 kB / 0.7704 GB, free: 15.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002338/0.43, allocations: 61.62 kB / 0.7705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.43, allocations: 51.41 kB / 0.7705 GB, free: 15.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4301, allocations: 126 kB / 0.7706 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.4302, allocations: 29.64 kB / 0.7707 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.4302, allocations: 92.12 kB / 0.7708 GB, free: 15.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.4302, allocations: 3.953 kB / 0.7708 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.4303, allocations: 13.72 kB / 0.7708 GB, free: 15.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4304, allocations: 318.8 kB / 0.7711 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.4305, allocations: 15.98 kB / 0.7711 GB, free: 14.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.4305, allocations: 8 kB / 0.7711 GB, free: 14.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.977e-05/0.4306, allocations: 28.78 kB / 0.7711 GB, free: 14.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4306, allocations: 0 / 0.7711 GB, free: 14.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.4307, allocations: 61.62 kB / 0.7712 GB, free: 14.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4307, allocations: 4 kB / 0.7712 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4308, allocations: 0 / 0.7712 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.4308, allocations: 0 / 0.7712 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.4308, allocations: 4 kB / 0.7712 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4309, allocations: 4.094 kB / 0.7712 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.523e-05/0.4309, allocations: 7.984 kB / 0.7712 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.4309, allocations: 4 kB / 0.7712 GB, free: 14.54 MB / 0.545 GB 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 8.035e-05/0.431, allocations: 113.8 kB / 0.7713 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.431, allocations: 0 / 0.7713 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.4312, allocations: 69.14 kB / 0.7714 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.4312, allocations: 0 / 0.7714 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4312, allocations: 4.031 kB / 0.7714 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4312, allocations: 0 / 0.7714 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.4314, allocations: 177.6 kB / 0.7716 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4314, allocations: 0 / 0.7716 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.4314, allocations: 7.984 kB / 0.7716 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4315, allocations: 3.984 kB / 0.7716 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4315, allocations: 0 / 0.7716 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4315, allocations: 3.938 kB / 0.7716 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4315, allocations: 4 kB / 0.7716 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.4317, allocations: 151.4 kB / 0.7717 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.4317, allocations: 92.98 kB / 0.7718 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.4317, allocations: 4 kB / 0.7718 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.4318, allocations: 0 / 0.7718 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.4318, allocations: 0 / 0.7718 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.4318, allocations: 8 kB / 0.7718 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.4319, allocations: 91.27 kB / 0.7719 GB, free: 13.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4319, allocations: 0 / 0.7719 GB, free: 13.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002308/0.4321, allocations: 19.97 kB / 0.7719 GB, free: 13.71 MB / 0.545 GB 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.0001449/0.4323, allocations: 103.2 kB / 0.772 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.4325, allocations: 27.98 kB / 0.7721 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4325, allocations: 0 / 0.7721 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.4325, allocations: 19.86 kB / 0.7721 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.4327, allocations: 0 / 0.7721 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.433, allocations: 134.7 kB / 0.7722 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.4333, allocations: 0.6807 MB / 0.7729 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.4333, allocations: 8 kB / 0.7729 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.4334, allocations: 11.42 kB / 0.7729 GB, free: 12.66 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4334, allocations: 0 / 0.7729 GB, free: 12.66 MB / 0.545 GB Notification: Performance of Templates: time 0.002406/0.4358, allocations: 0.4919 MB / 0.7734 GB, free: 12.18 MB / 0.545 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)