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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9348/0.9348, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002476/0.002476, allocations: 241.7 kB / 261.3 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7309/0.7309, allocations: 138.5 MB / 456.3 MB, free: 1.402 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 3.938 kB / 0.5564 GB, free: 164 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.726e-05, allocations: 9.062 kB / 0.5564 GB, free: 156 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001073/0.00109, allocations: 0.6268 MB / 0.5571 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.002442, allocations: 1.345 MB / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.002469, allocations: 0 / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.002485, allocations: 0 / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.113e-05/0.002507, allocations: 0 / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.002865, allocations: 87.53 kB / 0.5585 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.002914, allocations: 19.98 kB / 0.5585 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.002957, allocations: 11.98 kB / 0.5585 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.002993, allocations: 15.92 kB / 0.5585 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.003058, allocations: 7.984 kB / 0.5585 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.003072, allocations: 4 kB / 0.5585 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.003285, allocations: 107.9 kB / 0.5586 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.0033, allocations: 3.984 kB / 0.5586 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.003318, allocations: 15.92 kB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.003454, allocations: 87.75 kB / 0.5587 GB, free: 13.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003456, allocations: 4 kB / 0.5587 GB, free: 13.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003457, allocations: 0 / 0.5587 GB, free: 13.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.00346, allocations: 0 / 0.5587 GB, free: 13.8 MB / 490.7 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.0003476/0.003807, allocations: 380.5 kB / 0.5591 GB, free: 13.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.003851, allocations: 8.75 kB / 0.5591 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.003884, allocations: 8.875 kB / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.932e-05/0.003963, allocations: 108.6 kB / 0.5592 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.003974, allocations: 4.375 kB / 0.5592 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.003991, allocations: 4.375 kB / 0.5592 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.56e-05/0.004077, allocations: 87.84 kB / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.004085, allocations: 192 / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.004092, allocations: 384 / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.004097, allocations: 7.938 kB / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.693e-05/0.004134, allocations: 15.98 kB / 0.5593 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.004248, allocations: 117.1 kB / 0.5594 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.001e-05/0.004328, allocations: 59.09 kB / 0.5595 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.004348, allocations: 15.69 kB / 0.5595 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.004498, allocations: 43.95 kB / 0.5595 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.004518, allocations: 33.39 kB / 0.5596 GB, free: 12.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.004519, allocations: 7.984 kB / 0.5596 GB, free: 12.8 MB / 490.7 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.01017/0.01469, allocations: 5.194 MB / 0.5647 GB, free: 7.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.01471, allocations: 55.41 kB / 0.5647 GB, free: 7.434 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.215e-05/0.01477, allocations: 149.9 kB / 0.5649 GB, free: 7.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.01482, allocations: 29.64 kB / 0.5649 GB, free: 7.234 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.01485, allocations: 126.9 kB / 0.565 GB, free: 7.105 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/0.01493, allocations: 71.36 kB / 0.5651 GB, free: 7.035 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.01508, allocations: 107.4 kB / 0.5652 GB, free: 6.922 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01518, allocations: 496.1 kB / 0.5656 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.01548, allocations: 395.9 kB / 0.566 GB, free: 6.039 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.01577, allocations: 395.9 kB / 0.5664 GB, free: 5.652 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/0.01667, allocations: 0.9404 MB / 0.5673 GB, free: 4.711 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01667, allocations: 0 / 0.5673 GB, free: 4.711 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000962/0.01763, allocations: 0.97 MB / 0.5683 GB, free: 3.734 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01764, allocations: 4 kB / 0.5683 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.01765, allocations: 0 / 0.5683 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.01766, allocations: 4 kB / 0.5683 GB, free: 3.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.01804, allocations: 95.88 kB / 0.5684 GB, free: 3.633 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.01804, allocations: 4 kB / 0.5684 GB, free: 3.629 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.01827, allocations: 8 kB / 0.5684 GB, free: 3.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.01832, allocations: 31.98 kB / 0.5684 GB, free: 3.59 MB / 490.7 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.0001419/0.01846, allocations: 164.5 kB / 0.5686 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.01854, allocations: 19.88 kB / 0.5686 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.0201, allocations: 1.212 MB / 0.5698 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.0201, allocations: 4 kB / 0.5698 GB, free: 2.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.0201, allocations: 0 / 0.5698 GB, free: 2.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.02011, allocations: 0 / 0.5698 GB, free: 2.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.02161, allocations: 1.494 MB / 0.5712 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02161, allocations: 0 / 0.5712 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.02199, allocations: 103.9 kB / 0.5713 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.02199, allocations: 4 kB / 0.5713 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.02203, allocations: 31.98 kB / 0.5714 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.02204, allocations: 8.031 kB / 0.5714 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02204, allocations: 0 / 0.5714 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.02317, allocations: 1.137 MB / 0.5725 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.02318, allocations: 19.75 kB / 0.5725 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.02324, allocations: 11.98 kB / 0.5725 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.02345, allocations: 8 kB / 0.5725 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.02354, allocations: 43.95 kB / 0.5726 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.02358, allocations: 28 kB / 0.5726 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.706e-05/0.02361, allocations: 119.2 kB / 0.5727 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02361, allocations: 4.125 kB / 0.5727 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003874/0.02399, allocations: 187.7 kB / 0.5729 GB, free: 14.93 MB / 0.4948 GB 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.000345/0.02434, allocations: 242.8 kB / 0.5731 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006578/0.025, allocations: 0.7531 MB / 0.5738 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.025, allocations: 0 / 0.5738 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.0253, allocations: 348 kB / 0.5742 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.02553, allocations: 39.94 kB / 0.5742 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.02712, allocations: 0.7043 MB / 0.5749 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.02716, allocations: 81.41 kB / 0.575 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006207/0.02778, allocations: 289.5 kB / 0.5753 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.02831, allocations: 166.2 kB / 0.5754 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/0.02831, allocations: 4 kB / 0.5754 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.01303/0.04134, allocations: 13.31 MB / 0.5884 GB, free: 15 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.920880950987339]