Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7487/0.7487, allocations: 128.7 MB / 143.7 MB, free: 2.316 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001107, allocations: 187.3 kB / 173.7 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 87.88 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003277, allocations: 12.5 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1718, allocations: 76.77 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.3086, allocations: 103 MB / 0.736 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.3089, allocations: 83.95 kB / 0.7361 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005484/0.3144, allocations: 1.92 MB / 0.7379 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3144, allocations: 0 / 0.7379 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3144, allocations: 0 / 0.7379 GB, free: 5.297 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.0003921/0.3148, allocations: 365.3 kB / 0.7383 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.3149, allocations: 8.031 kB / 0.7383 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.315, allocations: 34.56 kB / 0.7383 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.315, allocations: 19.8 kB / 0.7383 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3151, allocations: 159.1 kB / 0.7385 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3152, allocations: 3.984 kB / 0.7385 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.3152, allocations: 4 kB / 0.7385 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.3153, allocations: 45.69 kB / 0.7386 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3153, allocations: 0 / 0.7386 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3154, allocations: 0 / 0.7386 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3154, allocations: 0 / 0.7386 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.3154, allocations: 15.95 kB / 0.7386 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.3156, allocations: 157.7 kB / 0.7387 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3157, allocations: 46.56 kB / 0.7388 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004714/0.3162, allocations: 0.5585 MB / 0.7393 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3163, allocations: 30.56 kB / 0.7393 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3163, allocations: 0 / 0.7393 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001617/0.3179, allocations: 466.4 kB / 0.7398 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3179, allocations: 51.41 kB / 0.7398 GB, free: 3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.124e-05/0.318, allocations: 96.94 kB / 0.7399 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.318, allocations: 33.64 kB / 0.74 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.3181, allocations: 80.14 kB / 0.74 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.3181, allocations: 27.56 kB / 0.7401 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.3181, allocations: 4 kB / 0.7401 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3182, allocations: 314.8 kB / 0.7404 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.3183, allocations: 16 kB / 0.7404 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.3183, allocations: 20.11 kB / 0.7404 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.222e-05/0.3184, allocations: 32.12 kB / 0.7404 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.3184, allocations: 0 / 0.7404 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001248/0.3185, allocations: 81.62 kB / 0.7405 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3185, allocations: 4 kB / 0.7405 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3185, allocations: 0 / 0.7405 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3185, allocations: 0 / 0.7405 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3186, allocations: 19.98 kB / 0.7405 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3187, allocations: 0 / 0.7405 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.3187, allocations: 0 / 0.7405 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.3187, allocations: 11.95 kB / 0.7405 GB, free: 2.242 MB / 0.5105 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 6.941e-05/0.3188, allocations: 113.8 kB / 0.7406 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.3188, allocations: 7.906 kB / 0.7407 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.319, allocations: 89.64 kB / 0.7407 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.319, allocations: 8 kB / 0.7407 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.319, allocations: 3.984 kB / 0.7408 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.319, allocations: 3.984 kB / 0.7408 GB, free: 2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.3192, allocations: 173.6 kB / 0.7409 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3192, allocations: 0 / 0.7409 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.923e-05/0.3193, allocations: 15.98 kB / 0.7409 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3193, allocations: 7.938 kB / 0.7409 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3193, allocations: 3.938 kB / 0.7409 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3193, allocations: 160 / 0.7409 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3193, allocations: 0 / 0.7409 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.3196, allocations: 137 kB / 0.7411 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.3196, allocations: 85.05 kB / 0.7412 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.3196, allocations: 4 kB / 0.7412 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.3197, allocations: 4.078 kB / 0.7412 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.3197, allocations: 8 kB / 0.7412 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3197, allocations: 8 kB / 0.7412 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.3198, allocations: 75.28 kB / 0.7413 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3198, allocations: 160 / 0.7413 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000206/0.32, allocations: 35.98 kB / 0.7413 GB, free: 1.367 MB / 0.5105 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.0005555/0.3205, allocations: 0.7059 MB / 0.742 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.3207, allocations: 51.91 kB / 0.742 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3207, allocations: 0 / 0.742 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.384e-05/0.3207, allocations: 32.05 kB / 0.7421 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.899e-05/0.3208, allocations: 7.938 kB / 0.7421 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006906/0.3215, allocations: 466.5 kB / 0.7425 GB, free: 40 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.258/0.5795, allocations: 0.6786 MB / 0.7432 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.5797, allocations: 10.34 kB / 0.7432 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.5798, allocations: 18.89 kB / 0.7432 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of SimCode: time 7.31e-07/0.5798, allocations: 0 / 0.7432 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.5919, allocations: 1.508 MB / 0.7447 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.5921, allocations: 210.1 kB / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.069, allocations: 1.375 kB / 0.7449 GB, free: 108.6 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)