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.00117/0.001179, allocations: 94.44 kB / 16.67 MB, free: 5.859 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.001607/0.001607, allocations: 178.3 kB / 17.57 MB, free: 5.543 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.472/1.472, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7249/0.7249, allocations: 115.5 MB / 408.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005006, allocations: 16 kB / 496.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3786, allocations: 77.52 MB / 0.5606 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00067/0.3794, allocations: 342.1 kB / 0.5609 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.381, allocations: 1.267 MB / 0.5622 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.3811, allocations: 0 / 0.5622 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.3811, allocations: 1.438 kB / 0.5622 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.432e-05/0.3811, allocations: 0 / 0.5622 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.3815, allocations: 60.33 kB / 0.5622 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.3816, allocations: 19.86 kB / 0.5622 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.3816, allocations: 2.312 kB / 0.5622 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.62e-05/0.3816, allocations: 17.19 kB / 0.5623 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.3817, allocations: 17.77 kB / 0.5623 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.3817, allocations: 3.812 kB / 0.5623 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.382, allocations: 93.27 kB / 0.5624 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.382, allocations: 11.83 kB / 0.5624 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.382, allocations: 35.3 kB / 0.5624 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.3821, allocations: 44.2 kB / 0.5625 GB, free: 34.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3821, allocations: 0.5312 kB / 0.5625 GB, free: 34.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3821, allocations: 2.25 kB / 0.5625 GB, free: 34.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.3821, allocations: 0 / 0.5625 GB, free: 34.25 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.0003453/0.3825, allocations: 342 kB / 0.5628 GB, free: 33.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3825, allocations: 13.58 kB / 0.5628 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.3826, allocations: 7.531 kB / 0.5628 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.911e-05/0.3827, allocations: 161.2 kB / 0.563 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3827, allocations: 8.484 kB / 0.563 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3827, allocations: 3.375 kB / 0.563 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3828, allocations: 56.81 kB / 0.563 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3828, allocations: 0.7031 kB / 0.563 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3829, allocations: 1.906 kB / 0.563 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3829, allocations: 2.031 kB / 0.563 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.468e-05/0.3829, allocations: 26.48 kB / 0.5631 GB, free: 33.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.3831, allocations: 169.9 kB / 0.5632 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.3832, allocations: 60.52 kB / 0.5633 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.3832, allocations: 33.97 kB / 0.5633 GB, free: 33.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/0.3836, allocations: 0.5638 MB / 0.5639 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3836, allocations: 37.48 kB / 0.5639 GB, free: 32.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3836, allocations: 1.281 kB / 0.5639 GB, free: 32.66 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.01974/0.4034, allocations: 4.267 MB / 0.5681 GB, free: 30.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.4034, allocations: 55.48 kB / 0.5681 GB, free: 30.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.721e-05/0.4035, allocations: 97.05 kB / 0.5682 GB, free: 30.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.4036, allocations: 26.86 kB / 0.5682 GB, free: 30.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.461e-05/0.4036, allocations: 80.84 kB / 0.5683 GB, free: 30.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.4037, allocations: 50.88 kB / 0.5684 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.4038, allocations: 28.09 kB / 0.5684 GB, free: 30.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.4039, allocations: 320.2 kB / 0.5687 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.4044, allocations: 311.4 kB / 0.569 GB, free: 30.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.4049, allocations: 313.4 kB / 0.5693 GB, free: 30.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.4065, allocations: 0.7676 MB / 0.57 GB, free: 29.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.4065, allocations: 1.766 kB / 0.57 GB, free: 29.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001597/0.4081, allocations: 0.797 MB / 0.5708 GB, free: 29.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4081, allocations: 5.938 kB / 0.5708 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4081, allocations: 0.5 kB / 0.5708 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4082, allocations: 5.891 kB / 0.5708 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/0.4091, allocations: 98.56 kB / 0.5709 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4091, allocations: 1.875 kB / 0.5709 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/0.4096, allocations: 10.28 kB / 0.5709 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.713e-05/0.4097, allocations: 37.73 kB / 0.571 GB, free: 29.34 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.0001915/0.4099, allocations: 118.8 kB / 0.5711 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/0.41, allocations: 7.531 kB / 0.5711 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.4135, allocations: 1.405 MB / 0.5725 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.4136, allocations: 4.062 kB / 0.5725 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4136, allocations: 0 / 0.5725 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4136, allocations: 3.25 kB / 0.5725 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.4163, allocations: 1.824 MB / 0.5743 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4164, allocations: 0 / 0.5743 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007869/0.4172, allocations: 110.5 kB / 0.5744 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.4172, allocations: 2.75 kB / 0.5744 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.4173, allocations: 30.14 kB / 0.5744 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.4173, allocations: 3.25 kB / 0.5744 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4173, allocations: 0 / 0.5744 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.4196, allocations: 1.471 MB / 0.5758 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.4196, allocations: 94.84 kB / 0.5759 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.4197, allocations: 11.25 kB / 0.5759 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/0.4202, allocations: 15.34 kB / 0.5759 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.4204, allocations: 41.75 kB / 0.576 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/0.4205, allocations: 32.64 kB / 0.576 GB, free: 26.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.049e-05/0.4205, allocations: 77.38 kB / 0.5761 GB, free: 26.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4205, allocations: 0 / 0.5761 GB, free: 26.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000636/0.4212, allocations: 180.2 kB / 0.5763 GB, free: 26.55 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.0004832/0.4216, allocations: 224.8 kB / 0.5765 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.4228, allocations: 0.7256 MB / 0.5772 GB, free: 26.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4229, allocations: 0 / 0.5772 GB, free: 26.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006307/0.4235, allocations: 451.7 kB / 0.5776 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.4238, allocations: 21.48 kB / 0.5776 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.4274, allocations: 0.8884 MB / 0.5785 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.4275, allocations: 0.7183 MB / 0.5792 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/0.4281, allocations: 96.23 kB / 0.5793 GB, free: 24.76 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4281, allocations: 0 / 0.5793 GB, free: 24.76 MB / 446.1 MB Notification: Performance of Templates: time 0.01317/0.4413, allocations: 6.881 MB / 0.586 GB, free: 23.18 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)