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.00697/0.00697, allocations: 100.5 kB / 15.73 MB, free: 5.996 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.001579/0.001579, allocations: 190.5 kB / 16.67 MB, free: 5.926 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 292.4 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.9218/0.9218, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 99.83 kB / 0.6814 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4042, allocations: 86.99 MB / 0.7664 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002271/0.4065, allocations: 1.484 MB / 0.7678 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.4075, allocations: 0.6532 MB / 0.7685 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.4075, allocations: 0 / 0.7685 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.4076, allocations: 3.938 kB / 0.7685 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.803e-05/0.4076, allocations: 7.875 kB / 0.7685 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.408, allocations: 79.73 kB / 0.7686 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.4081, allocations: 39.84 kB / 0.7686 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.4082, allocations: 19.78 kB / 0.7686 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.4082, allocations: 15.94 kB / 0.7686 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.4083, allocations: 15.92 kB / 0.7687 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.4083, allocations: 4 kB / 0.7687 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.4085, allocations: 107.9 kB / 0.7688 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.4085, allocations: 7.938 kB / 0.7688 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.4086, allocations: 11.94 kB / 0.7688 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.4087, allocations: 91.7 kB / 0.7689 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4087, allocations: 4 kB / 0.7689 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4087, allocations: 4 kB / 0.7689 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.4087, allocations: 0 / 0.7689 GB, free: 1.469 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.0003977/0.4091, allocations: 357.9 kB / 0.7692 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.4092, allocations: 8.031 kB / 0.7692 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.4092, allocations: 4.938 kB / 0.7692 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.4093, allocations: 184.1 kB / 0.7694 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.4094, allocations: 4.375 kB / 0.7694 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.4094, allocations: 4.375 kB / 0.7694 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.4095, allocations: 61.98 kB / 0.7695 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4095, allocations: 0 / 0.7695 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.4096, allocations: 0 / 0.7695 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4096, allocations: 0 / 0.7695 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.4097, allocations: 27.98 kB / 0.7695 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.41, allocations: 284.7 kB / 0.7698 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.016e-05/0.4101, allocations: 30.58 kB / 0.7698 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.4102, allocations: 20.91 kB / 0.7698 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004817/0.4107, allocations: 0.5505 MB / 0.7704 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4107, allocations: 34.56 kB / 0.7704 GB, free: 15.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 4.749e-06/0.4107, allocations: 3.984 kB / 0.7704 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002322/0.4109, allocations: 73.55 kB / 0.7705 GB, free: 15.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.411, allocations: 51.41 kB / 0.7705 GB, free: 15.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.4111, allocations: 125.8 kB / 0.7706 GB, free: 15.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.4111, allocations: 25.7 kB / 0.7707 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.4112, allocations: 92.05 kB / 0.7707 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.4112, allocations: 0 / 0.7707 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.4112, allocations: 13.72 kB / 0.7708 GB, free: 15.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4113, allocations: 330.9 kB / 0.7711 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.4114, allocations: 4 kB / 0.7711 GB, free: 14.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.4114, allocations: 11.98 kB / 0.7711 GB, free: 14.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.713e-05/0.4115, allocations: 32.78 kB / 0.7711 GB, free: 14.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4115, allocations: 0 / 0.7711 GB, free: 14.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001264/0.4116, allocations: 53.59 kB / 0.7712 GB, free: 14.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.4117, allocations: 8.094 kB / 0.7712 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4117, allocations: 0 / 0.7712 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.4117, allocations: 0 / 0.7712 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.4118, allocations: 11.98 kB / 0.7712 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4118, allocations: 0 / 0.7712 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.4118, allocations: 3.938 kB / 0.7712 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.4118, allocations: 4 kB / 0.7712 GB, free: 14.74 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 6.63e-05/0.4119, allocations: 113.8 kB / 0.7713 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.4119, allocations: 11.84 kB / 0.7713 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.4121, allocations: 69.14 kB / 0.7714 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4121, allocations: 0 / 0.7714 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4121, allocations: 3.984 kB / 0.7714 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4121, allocations: 0 / 0.7714 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.4123, allocations: 169.7 kB / 0.7716 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4123, allocations: 0 / 0.7716 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.4124, allocations: 4 kB / 0.7716 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.4124, allocations: 0 / 0.7716 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.4124, allocations: 4 kB / 0.7716 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4124, allocations: 4.031 kB / 0.7716 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4124, allocations: 0 / 0.7716 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.4126, allocations: 159.3 kB / 0.7717 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.4126, allocations: 85.02 kB / 0.7718 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.4126, allocations: 0 / 0.7718 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.4127, allocations: 0 / 0.7718 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.4127, allocations: 7.984 kB / 0.7718 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.4127, allocations: 8.031 kB / 0.7718 GB, free: 14.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.4128, allocations: 99.27 kB / 0.7719 GB, free: 13.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4128, allocations: 0 / 0.7719 GB, free: 13.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002254/0.413, allocations: 11.94 kB / 0.7719 GB, free: 13.9 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.0001436/0.4132, allocations: 99.25 kB / 0.772 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.4133, allocations: 23.98 kB / 0.772 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4133, allocations: 64 / 0.772 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.97e-05/0.4134, allocations: 23.92 kB / 0.7721 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.4136, allocations: 0 / 0.7721 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.4139, allocations: 130.7 kB / 0.7722 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.4141, allocations: 0.6846 MB / 0.7729 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.4142, allocations: 4 kB / 0.7729 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.4142, allocations: 7.438 kB / 0.7729 GB, free: 12.87 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4142, allocations: 4.062 kB / 0.7729 GB, free: 12.87 MB / 0.545 GB Notification: Performance of Templates: time 0.002536/0.4167, allocations: 0.4923 MB / 0.7733 GB, free: 12.38 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)