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.001237/0.001237, allocations: 104.9 kB / 16.41 MB, free: 6.504 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.001278/0.001278, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 298.1 kB / 291.5 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.8841/0.8841, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.00175, allocations: 103.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4089, allocations: 86.98 MB / 0.7671 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002623/0.4116, allocations: 1.483 MB / 0.7685 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.4127, allocations: 0.6531 MB / 0.7691 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.4128, allocations: 0 / 0.7691 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.4128, allocations: 7.938 kB / 0.7692 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.913e-05/0.4129, allocations: 3.938 kB / 0.7692 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.4132, allocations: 83.67 kB / 0.7692 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.4133, allocations: 35.86 kB / 0.7693 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.4134, allocations: 23.77 kB / 0.7693 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.4135, allocations: 15.92 kB / 0.7693 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.4136, allocations: 15.92 kB / 0.7693 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.4136, allocations: 7.938 kB / 0.7693 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.4138, allocations: 107.9 kB / 0.7694 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.4138, allocations: 7.938 kB / 0.7694 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.4138, allocations: 19.92 kB / 0.7695 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.414, allocations: 83.78 kB / 0.7695 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4141, allocations: 0 / 0.7695 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4141, allocations: 0 / 0.7695 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.4141, allocations: 0 / 0.7695 GB, free: 1.512 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.0004203/0.4145, allocations: 361.9 kB / 0.7699 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.4145, allocations: 8.031 kB / 0.7699 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.4146, allocations: 4.938 kB / 0.7699 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.4147, allocations: 180.1 kB / 0.7701 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4147, allocations: 12.38 kB / 0.7701 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.4147, allocations: 384 / 0.7701 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.4149, allocations: 54 kB / 0.7701 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.4149, allocations: 0 / 0.7701 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4149, allocations: 4 kB / 0.7701 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.4149, allocations: 0 / 0.7701 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/0.415, allocations: 27.97 kB / 0.7702 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.4153, allocations: 284.7 kB / 0.7704 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.4154, allocations: 30.58 kB / 0.7705 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.4155, allocations: 16.91 kB / 0.7705 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004736/0.416, allocations: 0.5544 MB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.416, allocations: 38.55 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.416, allocations: 0 / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002244/0.4162, allocations: 65.62 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.4163, allocations: 55.34 kB / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.4164, allocations: 121.8 kB / 0.7713 GB, free: 15.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.4164, allocations: 25.7 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.4165, allocations: 96.05 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.4165, allocations: 128 / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.4165, allocations: 21.7 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4166, allocations: 318.8 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.4167, allocations: 7.984 kB / 0.7717 GB, free: 14.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.4167, allocations: 12 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.092e-05/0.4168, allocations: 24.84 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4168, allocations: 0 / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001207/0.4169, allocations: 61.59 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.4169, allocations: 8 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.417, allocations: 3.984 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.417, allocations: 0 / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.417, allocations: 4 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.417, allocations: 3.938 kB / 0.7719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.4171, allocations: 7.938 kB / 0.7719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.4171, allocations: 0 / 0.7719 GB, free: 14.79 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 7.007e-05/0.4172, allocations: 125.8 kB / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.4172, allocations: 3.906 kB / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.4174, allocations: 61.14 kB / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4174, allocations: 4 kB / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4174, allocations: 3.984 kB / 0.772 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4174, allocations: 0 / 0.772 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.4176, allocations: 173.7 kB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4176, allocations: 0 / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.4176, allocations: 4 kB / 0.7722 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4176, allocations: 4.031 kB / 0.7722 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.4176, allocations: 0 / 0.7722 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4176, allocations: 0 / 0.7722 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.4176, allocations: 7.969 kB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.4178, allocations: 151.5 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.4178, allocations: 84.95 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.4179, allocations: 0 / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.4179, allocations: 15.95 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.418, allocations: 0 / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.418, allocations: 0 / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.092e-05/0.418, allocations: 99.27 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.418, allocations: 0 / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002325/0.4183, allocations: 15.94 kB / 0.7726 GB, free: 13.95 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.0001501/0.4184, allocations: 105.2 kB / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.4186, allocations: 23.98 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4186, allocations: 0 / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.4186, allocations: 12 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.4188, allocations: 4 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.4191, allocations: 164.4 kB / 0.7729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.4194, allocations: 0.6807 MB / 0.7735 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.4194, allocations: 11.56 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.4194, allocations: 0 / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of Templates: time 0.002065/0.4215, allocations: 0.7273 MB / 0.7743 GB, free: 12.16 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)