Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7337/0.7337, allocations: 140.1 MB / 156 MB, free: 5.152 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 190.3 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007613/0.0007614, allocations: 90.3 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001603/0.001603, allocations: 277.9 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004638, allocations: 20 kB / 0.662 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3729, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.5051, allocations: 107.5 MB / 0.8445 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.5054, allocations: 75.95 kB / 0.8445 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005255/0.5107, allocations: 1.862 MB / 0.8464 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5107, allocations: 0 / 0.8464 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5107, allocations: 0 / 0.8464 GB, free: 0.7539 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003289/0.5111, allocations: 351.5 kB / 0.8467 GB, free: 368 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5111, allocations: 8.031 kB / 0.8467 GB, free: 360 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.5112, allocations: 8.938 kB / 0.8467 GB, free: 352 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.5113, allocations: 168.3 kB / 0.8469 GB, free: 144 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5113, allocations: 384 / 0.8469 GB, free: 144 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.5113, allocations: 8.375 kB / 0.8469 GB, free: 136 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.5114, allocations: 42.25 kB / 0.8469 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.5115, allocations: 192 / 0.8469 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5115, allocations: 3.938 kB / 0.8469 GB, free: 84 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5115, allocations: 0 / 0.8469 GB, free: 84 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.38e-05/0.5115, allocations: 15.94 kB / 0.8469 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.5117, allocations: 157.7 kB / 0.8471 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/0.5118, allocations: 46.62 kB / 0.8471 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.5119, allocations: 20.97 kB / 0.8471 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/0.5123, allocations: 0.5583 MB / 0.8477 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.5124, allocations: 38.5 kB / 0.8477 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5124, allocations: 0 / 0.8477 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001537/0.5139, allocations: 466.4 kB / 0.8482 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.514, allocations: 55.41 kB / 0.8482 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.499e-05/0.514, allocations: 93.86 kB / 0.8483 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.5141, allocations: 29.7 kB / 0.8483 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.5141, allocations: 80.14 kB / 0.8484 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.5141, allocations: 31.55 kB / 0.8485 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.5141, allocations: 0 / 0.8485 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.5142, allocations: 318.8 kB / 0.8488 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/0.5143, allocations: 24.11 kB / 0.8488 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.5143, allocations: 16 kB / 0.8488 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.238e-05/0.5144, allocations: 52.78 kB / 0.8488 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5144, allocations: 0 / 0.8488 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001228/0.5145, allocations: 89.56 kB / 0.8489 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.5146, allocations: 8 kB / 0.8489 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5146, allocations: 0 / 0.8489 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.5146, allocations: 0 / 0.8489 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.5147, allocations: 15.94 kB / 0.849 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.5147, allocations: 0 / 0.849 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.5147, allocations: 4 kB / 0.849 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.5148, allocations: 7.984 kB / 0.849 GB, free: 13.68 MB / 0.5261 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/0.5148, allocations: 113.8 kB / 0.8491 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.5148, allocations: 7.844 kB / 0.8491 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.5151, allocations: 105.6 kB / 0.8492 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.5151, allocations: 288 / 0.8492 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5151, allocations: 0 / 0.8492 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5151, allocations: 0 / 0.8492 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.5152, allocations: 173.6 kB / 0.8493 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5152, allocations: 0 / 0.8493 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.725e-05/0.5153, allocations: 23.92 kB / 0.8494 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5153, allocations: 0 / 0.8494 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.5153, allocations: 0 / 0.8494 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5154, allocations: 0 / 0.8494 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5154, allocations: 4 kB / 0.8494 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.5156, allocations: 137 kB / 0.8495 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.5156, allocations: 84.95 kB / 0.8496 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.5156, allocations: 0 / 0.8496 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.5157, allocations: 8.031 kB / 0.8496 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.5157, allocations: 3.984 kB / 0.8496 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.5157, allocations: 4 kB / 0.8496 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.533e-05/0.5157, allocations: 79.34 kB / 0.8497 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5157, allocations: 0 / 0.8497 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002032/0.516, allocations: 31.94 kB / 0.8497 GB, free: 12.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.5161, allocations: 131.2 kB / 0.8498 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.5163, allocations: 63.84 kB / 0.8499 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5163, allocations: 0 / 0.8499 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.5163, allocations: 23.98 kB / 0.8499 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.5165, allocations: 7.938 kB / 0.8499 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.5168, allocations: 156.8 kB / 0.8501 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.517, allocations: 0.6809 MB / 0.8507 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.266e-05/0.5171, allocations: 15.69 kB / 0.8508 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.5172, allocations: 11.44 kB / 0.8508 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of SimCode: time 2.11e-07/0.5172, allocations: 0 / 0.8508 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of Templates: time 0.002697/0.5199, allocations: 0.7642 MB / 0.8515 GB, free: 10.91 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)