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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009082/0.0009085, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.517/0.517, allocations: 90.8 MB / 104.5 MB, free: 13.9 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.3 MB / 348.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008147/0.0008146, allocations: 91.92 kB / 421.1 MB, free: 5.754 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.271e-05, allocations: 4 kB / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 72.3 MB / 0.5603 GB, free: 6.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4332/0.5714, allocations: 102 MB / 0.66 GB, free: 5.859 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.5717, allocations: 81.12 kB / 0.66 GB, free: 5.812 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007088/0.5788, allocations: 2.409 MB / 0.6624 GB, free: 3.766 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5788, allocations: 4 kB / 0.6624 GB, free: 3.762 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.5788, allocations: 0 / 0.6624 GB, free: 3.762 MB / 458.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.0003432/0.5792, allocations: 361 kB / 0.6627 GB, free: 3.371 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5792, allocations: 11.98 kB / 0.6628 GB, free: 3.359 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.5793, allocations: 30.56 kB / 0.6628 GB, free: 3.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.5793, allocations: 11.89 kB / 0.6628 GB, free: 3.309 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.5794, allocations: 163 kB / 0.663 GB, free: 3.109 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.5795, allocations: 11.25 kB / 0.663 GB, free: 3.102 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.5795, allocations: 0 / 0.663 GB, free: 3.102 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.5796, allocations: 53.16 kB / 0.663 GB, free: 3.051 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.5796, allocations: 15.98 kB / 0.663 GB, free: 3.035 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5797, allocations: 3.438 kB / 0.663 GB, free: 3.035 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.5797, allocations: 3.953 kB / 0.663 GB, free: 3.031 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/0.5797, allocations: 19.19 kB / 0.6631 GB, free: 3.016 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.5799, allocations: 168.4 kB / 0.6632 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.5801, allocations: 56.95 kB / 0.6633 GB, free: 2.754 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.5801, allocations: 24.05 kB / 0.6633 GB, free: 2.734 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004349/0.5806, allocations: 0.5544 MB / 0.6638 GB, free: 2.051 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.5806, allocations: 42.16 kB / 0.6639 GB, free: 2.004 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.5806, allocations: 0 / 0.6639 GB, free: 2.004 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.0149/0.5955, allocations: 3.682 MB / 0.6675 GB, free: 14.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.5956, allocations: 55.34 kB / 0.6675 GB, free: 14.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.5957, allocations: 89 kB / 0.6676 GB, free: 14.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.281e-05/0.5958, allocations: 29.14 kB / 0.6676 GB, free: 14.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.5958, allocations: 84.14 kB / 0.6677 GB, free: 14.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.596, allocations: 56.14 kB / 0.6678 GB, free: 14.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.596, allocations: 2.688 kB / 0.6678 GB, free: 14.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5962, allocations: 318 kB / 0.6681 GB, free: 14.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.5967, allocations: 301.3 kB / 0.6684 GB, free: 13.94 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/0.5972, allocations: 300.8 kB / 0.6687 GB, free: 13.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.5979, allocations: 374 kB / 0.669 GB, free: 13.28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5979, allocations: 0 / 0.669 GB, free: 13.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001457/0.5994, allocations: 0.7669 MB / 0.6698 GB, free: 12.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.5994, allocations: 17.05 kB / 0.6698 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5995, allocations: 0 / 0.6698 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.5995, allocations: 3.984 kB / 0.6698 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007779/0.6003, allocations: 95.83 kB / 0.6699 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.6003, allocations: 0 / 0.6699 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.6008, allocations: 8 kB / 0.6699 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/0.6009, allocations: 39.97 kB / 0.6699 GB, free: 12.35 MB / 474.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.6011, allocations: 105 kB / 0.67 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.6011, allocations: 11.84 kB / 0.67 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/0.6043, allocations: 1.38 MB / 0.6714 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.6044, allocations: 4 kB / 0.6714 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6044, allocations: 0 / 0.6714 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.6044, allocations: 3.984 kB / 0.6714 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.6071, allocations: 1.78 MB / 0.6731 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6071, allocations: 0 / 0.6731 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007607/0.6078, allocations: 115.9 kB / 0.6732 GB, free: 8.871 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.6079, allocations: 0 / 0.6732 GB, free: 8.871 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.6079, allocations: 28 kB / 0.6733 GB, free: 8.844 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.6079, allocations: 0 / 0.6733 GB, free: 8.844 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6079, allocations: 0 / 0.6733 GB, free: 8.844 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.6101, allocations: 1.447 MB / 0.6747 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.6102, allocations: 92.92 kB / 0.6748 GB, free: 7.262 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.6103, allocations: 7.984 kB / 0.6748 GB, free: 7.254 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/0.6108, allocations: 12 kB / 0.6748 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.6109, allocations: 43.95 kB / 0.6748 GB, free: 7.199 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.611, allocations: 32 kB / 0.6749 GB, free: 7.168 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.677e-05/0.611, allocations: 75.28 kB / 0.6749 GB, free: 7.094 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.611, allocations: 4.156 kB / 0.6749 GB, free: 7.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005448/0.6116, allocations: 215.7 kB / 0.6751 GB, free: 6.879 MB / 474.7 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 () * 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 (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.003/0.6146, allocations: 2.221 MB / 0.6773 GB, free: 4.625 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.6157, allocations: 0.7069 MB / 0.678 GB, free: 3.918 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6157, allocations: 0 / 0.678 GB, free: 3.918 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005995/0.6163, allocations: 444.5 kB / 0.6784 GB, free: 3.484 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.6165, allocations: 11.98 kB / 0.6784 GB, free: 3.473 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.62, allocations: 0.8261 MB / 0.6792 GB, free: 2.609 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.6203, allocations: 0.7261 MB / 0.6799 GB, free: 1.855 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001373/0.6217, allocations: 289.3 kB / 0.6802 GB, free: 1.574 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.6222, allocations: 119.4 kB / 0.6803 GB, free: 1.457 MB / 474.7 MB Notification: Performance of SimCode: time 3.3e-07/0.6222, allocations: 0 / 0.6803 GB, free: 1.457 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.6456, allocations: 11.5 MB / 0.6916 GB, free: 6.102 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.6458, allocations: 174.8 kB / 0.6917 GB, free: 5.875 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.177, allocations: 0 / 0.6917 GB, free: 5.875 MB / 490.7 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/linux/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)