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.00108/0.00108, allocations: 118.4 kB / 17.1 MB, free: 6.008 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.001064/0.001064, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.234/1.234, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6779/0.6779, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 65.95 kB / 0.5584 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1129, allocations: 76.18 MB / 0.6328 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001551/0.1144, allocations: 0.6064 MB / 0.6334 GB, free: 3.871 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1159, allocations: 1.276 MB / 0.6346 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.116, allocations: 0 / 0.6346 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.116, allocations: 7.938 kB / 0.6346 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 1.668e-05/0.116, allocations: 4 kB / 0.6346 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.1164, allocations: 75.72 kB / 0.6347 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.1164, allocations: 19.98 kB / 0.6347 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.1165, allocations: 0 / 0.6347 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.1165, allocations: 19.92 kB / 0.6347 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.1166, allocations: 15.91 kB / 0.6348 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1166, allocations: 0 / 0.6348 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.1168, allocations: 95.91 kB / 0.6349 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.1168, allocations: 15.92 kB / 0.6349 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.1169, allocations: 15.92 kB / 0.6349 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.117, allocations: 67.86 kB / 0.635 GB, free: 2.246 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.117, allocations: 0 / 0.635 GB, free: 2.246 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.117, allocations: 0 / 0.635 GB, free: 2.246 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.117, allocations: 0 / 0.635 GB, free: 2.246 MB / 478.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.0003921/0.1174, allocations: 351.5 kB / 0.6353 GB, free: 1.855 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1175, allocations: 8.031 kB / 0.6353 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.1175, allocations: 12.84 kB / 0.6353 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1176, allocations: 160.4 kB / 0.6355 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.1176, allocations: 384 / 0.6355 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1177, allocations: 12.36 kB / 0.6355 GB, free: 1.629 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.1178, allocations: 57.97 kB / 0.6355 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1178, allocations: 0 / 0.6355 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1178, allocations: 4 kB / 0.6355 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1178, allocations: 4 kB / 0.6355 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.1179, allocations: 27.91 kB / 0.6356 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.1181, allocations: 165.7 kB / 0.6357 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.776e-05/0.1182, allocations: 54.56 kB / 0.6358 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.1182, allocations: 24.84 kB / 0.6358 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004448/0.1187, allocations: 0.5661 MB / 0.6363 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1187, allocations: 38.5 kB / 0.6364 GB, free: 500 kB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.1187, allocations: 3.938 kB / 0.6364 GB, free: 496 kB / 478.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.01977/0.1385, allocations: 4.368 MB / 0.6407 GB, free: 11.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.1385, allocations: 51.41 kB / 0.6407 GB, free: 11.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.1386, allocations: 101.9 kB / 0.6408 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.662e-05/0.1387, allocations: 25.7 kB / 0.6408 GB, free: 11.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.1387, allocations: 80.14 kB / 0.6409 GB, free: 11.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1388, allocations: 67.08 kB / 0.641 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.1391, allocations: 93.67 kB / 0.6411 GB, free: 11.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.1392, allocations: 322.8 kB / 0.6414 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.1397, allocations: 307.9 kB / 0.6417 GB, free: 10.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.1402, allocations: 305.6 kB / 0.6419 GB, free: 10.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.1416, allocations: 0.7797 MB / 0.6427 GB, free: 9.805 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1416, allocations: 0 / 0.6427 GB, free: 9.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001489/0.1431, allocations: 0.8019 MB / 0.6435 GB, free: 8.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1432, allocations: 4 kB / 0.6435 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1432, allocations: 0 / 0.6435 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1432, allocations: 3.938 kB / 0.6435 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008514/0.1441, allocations: 91.94 kB / 0.6436 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1441, allocations: 4 kB / 0.6436 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.1446, allocations: 8 kB / 0.6436 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/0.1447, allocations: 35.98 kB / 0.6436 GB, free: 8.852 MB / 494.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.0001917/0.1449, allocations: 125.7 kB / 0.6438 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.145, allocations: 4 kB / 0.6438 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.148, allocations: 1.392 MB / 0.6451 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.148, allocations: 0 / 0.6451 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.148, allocations: 3.938 kB / 0.6451 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.1481, allocations: 96.91 kB / 0.6452 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/0.1482, allocations: 8 kB / 0.6452 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.1487, allocations: 11.94 kB / 0.6452 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.1489, allocations: 43.97 kB / 0.6453 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001665/0.1505, allocations: 1.001 MB / 0.6462 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002293/0.1528, allocations: 1.549 MB / 0.6478 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005546/0.1534, allocations: 428.5 kB / 0.6482 GB, free: 4.141 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.757e-05/0.1534, allocations: 79.28 kB / 0.6482 GB, free: 4.062 MB / 494.1 MB Notification: Performance of Backend: time 4.51e-07/0.1534, allocations: 0 / 0.6482 GB, free: 4.062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.1548, allocations: 0.5546 MB / 0.6488 GB, free: 3.504 MB / 494.1 MB Notification: Performance of SimCode: time 0.0007145/0.1555, allocations: 0.7145 MB / 0.6495 GB, free: 2.738 MB / 494.1 MB Notification: Performance of Templates: time 0.01534/0.1709, allocations: 11.48 MB / 0.6607 GB, free: 7.301 MB / 0.4981 GB 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)