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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 103.8 kB / 16.27 MB, free: 6.402 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.001664/0.001664, allocations: 188 kB / 17.2 MB, free: 5.949 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7401/0.7401, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 63.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3854, allocations: 77.93 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001765/0.3872, allocations: 0.5982 MB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3887, allocations: 1.277 MB / 0.5691 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.3887, allocations: 0.9688 kB / 0.5691 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.3888, allocations: 3.938 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.972e-05/0.3888, allocations: 0 / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.3892, allocations: 78.91 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.53e-05/0.3893, allocations: 19.94 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.3893, allocations: 6.578 kB / 0.5692 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.3893, allocations: 11.31 kB / 0.5693 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.3894, allocations: 21.69 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.3894, allocations: 2.25 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.3897, allocations: 98.25 kB / 0.5694 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.3897, allocations: 12.06 kB / 0.5694 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.3897, allocations: 13.05 kB / 0.5694 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.3899, allocations: 64.95 kB / 0.5695 GB, free: 31.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3899, allocations: 0.6562 kB / 0.5695 GB, free: 31.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3899, allocations: 0 / 0.5695 GB, free: 31.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3899, allocations: 2.344 kB / 0.5695 GB, free: 31.28 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.0004544/0.3904, allocations: 358.5 kB / 0.5698 GB, free: 30.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.3904, allocations: 9.281 kB / 0.5698 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.3905, allocations: 33.78 kB / 0.5698 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.3905, allocations: 4.094 kB / 0.5698 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.3906, allocations: 167 kB / 0.57 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3907, allocations: 5.938 kB / 0.57 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.3907, allocations: 3.781 kB / 0.57 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.3908, allocations: 60.25 kB / 0.5701 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3909, allocations: 9.844 kB / 0.5701 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3909, allocations: 0 / 0.5701 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3909, allocations: 1.156 kB / 0.5701 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.952e-05/0.391, allocations: 22.11 kB / 0.5701 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.3912, allocations: 173.9 kB / 0.5703 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.3913, allocations: 62.25 kB / 0.5703 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.3914, allocations: 32 kB / 0.5704 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004219/0.3918, allocations: 0.5583 MB / 0.5709 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.3918, allocations: 35.62 kB / 0.5709 GB, free: 29.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3918, allocations: 0 / 0.5709 GB, free: 29.64 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.01997/0.4118, allocations: 4.359 MB / 0.5752 GB, free: 27.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.4119, allocations: 55.33 kB / 0.5752 GB, free: 27.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.938e-05/0.4119, allocations: 91.81 kB / 0.5753 GB, free: 27.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.412, allocations: 25.7 kB / 0.5754 GB, free: 27.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.395e-05/0.412, allocations: 90.55 kB / 0.5754 GB, free: 27.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.4121, allocations: 58.3 kB / 0.5755 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.4124, allocations: 89.23 kB / 0.5756 GB, free: 27.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.4124, allocations: 323.4 kB / 0.5759 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/0.4129, allocations: 307.6 kB / 0.5762 GB, free: 27.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.4135, allocations: 307.9 kB / 0.5765 GB, free: 26.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.415, allocations: 0.7757 MB / 0.5772 GB, free: 26.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.415, allocations: 0 / 0.5772 GB, free: 26.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001598/0.4166, allocations: 0.8023 MB / 0.578 GB, free: 26.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4167, allocations: 8.938 kB / 0.578 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4167, allocations: 0 / 0.578 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.4167, allocations: 5.125 kB / 0.578 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008816/0.4176, allocations: 90.36 kB / 0.5781 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.4176, allocations: 2.016 kB / 0.5781 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.4181, allocations: 12.91 kB / 0.5781 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.704e-05/0.4182, allocations: 37.5 kB / 0.5782 GB, free: 26.3 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.0001771/0.4184, allocations: 118.8 kB / 0.5783 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.4185, allocations: 10.81 kB / 0.5783 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/0.4218, allocations: 1.405 MB / 0.5797 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.4218, allocations: 3.844 kB / 0.5797 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.4218, allocations: 0 / 0.5797 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.4218, allocations: 6.469 kB / 0.5797 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.4246, allocations: 1.81 MB / 0.5814 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4247, allocations: 7.938 kB / 0.5815 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/0.4255, allocations: 106.8 kB / 0.5816 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.4255, allocations: 6.266 kB / 0.5816 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.4256, allocations: 34.09 kB / 0.5816 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.4256, allocations: 3.656 kB / 0.5816 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4256, allocations: 0.9375 kB / 0.5816 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.4278, allocations: 1.464 MB / 0.583 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.4278, allocations: 94.61 kB / 0.5831 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-05/0.4279, allocations: 15.03 kB / 0.5831 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.4285, allocations: 14.81 kB / 0.5831 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.4286, allocations: 38.69 kB / 0.5832 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.647e-05/0.4287, allocations: 32.8 kB / 0.5832 GB, free: 23.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.164e-05/0.4287, allocations: 76.66 kB / 0.5833 GB, free: 23.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4287, allocations: 0 / 0.5833 GB, free: 23.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006639/0.4294, allocations: 181.1 kB / 0.5835 GB, free: 23.46 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.002768/0.4322, allocations: 2.134 MB / 0.5855 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.4334, allocations: 0.7408 MB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4334, allocations: 0 / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.4341, allocations: 451.1 kB / 0.5867 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.4344, allocations: 16.75 kB / 0.5867 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/0.4413, allocations: 3.709 MB / 0.5903 GB, free: 18.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.4414, allocations: 0.7181 MB / 0.591 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001365/0.4428, allocations: 289.5 kB / 0.5913 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.4433, allocations: 123.3 kB / 0.5914 GB, free: 17.45 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4433, allocations: 4 kB / 0.5914 GB, free: 17.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.4725, allocations: 12.64 MB / 0.6038 GB, free: 5.012 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.86, allocations: 26.55 kB / 0.6038 GB, free: 4.988 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)