Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 104.4 kB / 16.52 MB, free: 6.27 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.001401/0.001402, allocations: 197.8 kB / 17.44 MB, free: 5.887 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7254/0.7254, allocations: 115.3 MB / 406.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 493.6 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3801, allocations: 76.18 MB / 0.5564 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001986/0.3821, allocations: 0.6636 MB / 0.557 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3837, allocations: 1.285 MB / 0.5583 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.3838, allocations: 1.406 kB / 0.5583 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.3838, allocations: 0 / 0.5583 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.441e-05/0.3838, allocations: 0 / 0.5583 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.3842, allocations: 56.98 kB / 0.5583 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.799e-05/0.3842, allocations: 24.75 kB / 0.5584 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.3843, allocations: 1.781 kB / 0.5584 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.34e-05/0.3843, allocations: 18.73 kB / 0.5584 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.3844, allocations: 12.91 kB / 0.5584 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.3844, allocations: 3.938 kB / 0.5584 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.3847, allocations: 97.95 kB / 0.5585 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.3847, allocations: 6.594 kB / 0.5585 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.3847, allocations: 13.2 kB / 0.5585 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.3848, allocations: 42.55 kB / 0.5586 GB, free: 34.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3848, allocations: 0 / 0.5586 GB, free: 34.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3848, allocations: 0 / 0.5586 GB, free: 34.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.3849, allocations: 0 / 0.5586 GB, free: 34.09 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004505/0.3853, allocations: 359.1 kB / 0.5589 GB, free: 33.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.3854, allocations: 9.906 kB / 0.5589 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.3854, allocations: 7.375 kB / 0.5589 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.605e-05/0.3855, allocations: 167.4 kB / 0.5591 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3856, allocations: 1.5 kB / 0.5591 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.3856, allocations: 7.781 kB / 0.5591 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3858, allocations: 57.92 kB / 0.5591 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3858, allocations: 0 / 0.5591 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3858, allocations: 5.531 kB / 0.5591 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3858, allocations: 0.9375 kB / 0.5591 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.762e-05/0.386, allocations: 28.91 kB / 0.5592 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.3861, allocations: 169.8 kB / 0.5593 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3863, allocations: 58.66 kB / 0.5594 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.922e-05/0.3864, allocations: 24.2 kB / 0.5594 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/0.3869, allocations: 0.5566 MB / 0.56 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3869, allocations: 41.91 kB / 0.56 GB, free: 32.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.3869, allocations: 0 / 0.56 GB, free: 32.5 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.02128/0.4082, allocations: 4.369 MB / 0.5643 GB, free: 30.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.4083, allocations: 54.78 kB / 0.5643 GB, free: 30.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.918e-05/0.4084, allocations: 95.17 kB / 0.5644 GB, free: 30.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.4084, allocations: 31.73 kB / 0.5644 GB, free: 30.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.898e-05/0.4085, allocations: 84.61 kB / 0.5645 GB, free: 30.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.4086, allocations: 58.97 kB / 0.5646 GB, free: 30.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.4089, allocations: 97.3 kB / 0.5647 GB, free: 30.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.4089, allocations: 318.7 kB / 0.565 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/0.4095, allocations: 311 kB / 0.5653 GB, free: 29.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.4101, allocations: 312.9 kB / 0.5656 GB, free: 29.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4116, allocations: 0.7677 MB / 0.5663 GB, free: 29.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4116, allocations: 7.062 kB / 0.5663 GB, free: 29.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001616/0.4133, allocations: 0.7993 MB / 0.5671 GB, free: 29.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4133, allocations: 7.719 kB / 0.5671 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4133, allocations: 480 / 0.5671 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4133, allocations: 1.062 kB / 0.5671 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/0.4141, allocations: 98.09 kB / 0.5672 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4142, allocations: 1.891 kB / 0.5672 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.4146, allocations: 5.562 kB / 0.5672 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.4147, allocations: 41.52 kB / 0.5673 GB, free: 29.16 MB / 446.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 (18): * Single equations (assignments): 18 * 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 0.0001788/0.4149, allocations: 122.3 kB / 0.5674 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.415, allocations: 3.172 kB / 0.5674 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/0.4184, allocations: 1.401 MB / 0.5687 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4185, allocations: 4.312 kB / 0.5687 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4185, allocations: 0 / 0.5687 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.4185, allocations: 1.781 kB / 0.5687 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.4216, allocations: 1.837 MB / 0.5705 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4216, allocations: 4.797 kB / 0.5705 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008105/0.4224, allocations: 106 kB / 0.5706 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.4224, allocations: 2.5 kB / 0.5707 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.4225, allocations: 30.38 kB / 0.5707 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.4225, allocations: 1.812 kB / 0.5707 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.4225, allocations: 1.562 kB / 0.5707 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.425, allocations: 1.476 MB / 0.5721 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.4251, allocations: 86.78 kB / 0.5722 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.43e-05/0.4252, allocations: 9.531 kB / 0.5722 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.4256, allocations: 11.77 kB / 0.5722 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.4258, allocations: 41.95 kB / 0.5723 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/0.4259, allocations: 33.22 kB / 0.5723 GB, free: 26.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.589e-05/0.4259, allocations: 76.62 kB / 0.5724 GB, free: 26.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4259, allocations: 0 / 0.5724 GB, free: 26.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006694/0.4266, allocations: 180.9 kB / 0.5725 GB, free: 26.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.0005858/0.4272, allocations: 225 kB / 0.5728 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.4286, allocations: 0.7261 MB / 0.5735 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4286, allocations: 0 / 0.5735 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000688/0.4293, allocations: 449.8 kB / 0.5739 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.4297, allocations: 27.75 kB / 0.5739 GB, free: 25.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.4328, allocations: 0.8765 MB / 0.5748 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.433, allocations: 0.7188 MB / 0.5755 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005885/0.4336, allocations: 98.09 kB / 0.5756 GB, free: 24.54 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4336, allocations: 0 / 0.5756 GB, free: 24.54 MB / 446.1 MB Notification: Performance of Templates: time 0.01509/0.4487, allocations: 6.883 MB / 0.5823 GB, free: 23.39 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)