Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.7401/0.7401, allocations: 127.3 MB / 139.8 MB, free: 15.44 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.001123/0.001123, allocations: 168.9 kB / 169.7 MB, free: 1.73 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.986/1.986, allocations: 205.1 MB / 404.5 MB, free: 1.57 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.0009551/0.0009551, allocations: 87.5 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.116e-05/4.134e-05, allocations: 11.98 kB / 0.5533 GB, free: 54.71 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2045, allocations: 76.76 MB / 0.6283 GB, free: 9.895 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6359/0.8405, allocations: 104.2 MB / 0.73 GB, free: 9.211 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/0.8409, allocations: 87.89 kB / 0.7301 GB, free: 9.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01813/0.8591, allocations: 5.812 MB / 0.7358 GB, free: 4.207 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.8592, allocations: 0 / 0.7358 GB, free: 4.207 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.8592, allocations: 0 / 0.7358 GB, free: 4.207 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007214/0.8599, allocations: 394.1 kB / 0.7361 GB, free: 3.781 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/0.86, allocations: 8.031 kB / 0.7362 GB, free: 3.773 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.558e-05/0.8601, allocations: 34.25 kB / 0.7362 GB, free: 3.734 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.8605, allocations: 76.56 kB / 0.7363 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.8607, allocations: 171 kB / 0.7364 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.8607, allocations: 2.812 kB / 0.7364 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.8608, allocations: 7.25 kB / 0.7364 GB, free: 3.449 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.861, allocations: 75.72 kB / 0.7365 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.861, allocations: 7.984 kB / 0.7365 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.861, allocations: 4 kB / 0.7365 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.861, allocations: 0 / 0.7365 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.8612, allocations: 43.31 kB / 0.7366 GB, free: 3.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.8619, allocations: 345.6 kB / 0.7369 GB, free: 2.977 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.862, allocations: 68.52 kB / 0.7369 GB, free: 2.914 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.8621, allocations: 23.42 kB / 0.737 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.8621, allocations: 12.08 kB / 0.737 GB, free: 2.883 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.8622, allocations: 30.56 kB / 0.737 GB, free: 2.844 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 3.908e-06/0.8622, allocations: 0 / 0.737 GB, free: 2.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.01345/0.8756, allocations: 2.107 MB / 0.7391 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.8758, allocations: 59.34 kB / 0.7391 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.8759, allocations: 91.81 kB / 0.7392 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.876, allocations: 29.2 kB / 0.7392 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.876, allocations: 92.06 kB / 0.7393 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.8761, allocations: 42.3 kB / 0.7394 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.8761, allocations: 4 kB / 0.7394 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8763, allocations: 313.4 kB / 0.7397 GB, free: 208 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.8766, allocations: 113.5 kB / 0.7398 GB, free: 132 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.8768, allocations: 118.5 kB / 0.7399 GB, free: 52 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.8771, allocations: 119.6 kB / 0.74 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.8771, allocations: 3.953 kB / 0.74 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007401/0.8779, allocations: 319.6 kB / 0.7403 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.8779, allocations: 4 kB / 0.7403 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.8779, allocations: 0 / 0.7403 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.8779, allocations: 4.094 kB / 0.7403 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/0.8788, allocations: 130.9 kB / 0.7404 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.8788, allocations: 0 / 0.7404 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/0.8794, allocations: 55.94 kB / 0.7405 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.8795, allocations: 27.25 kB / 0.7405 GB, free: 15.51 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001494/0.8797, allocations: 108.7 kB / 0.7406 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.8797, allocations: 11.86 kB / 0.7406 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.8798, allocations: 7.031 kB / 0.7406 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.8798, allocations: 0 / 0.7406 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.8798, allocations: 4 kB / 0.7407 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.8798, allocations: 4 kB / 0.7407 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.8813, allocations: 0.9039 MB / 0.7415 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8813, allocations: 0 / 0.7415 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008205/0.8821, allocations: 115.8 kB / 0.7417 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.8822, allocations: 4 kB / 0.7417 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.8822, allocations: 27.92 kB / 0.7417 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8822, allocations: 0 / 0.7417 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8823, allocations: 0 / 0.7417 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.8834, allocations: 0.568 MB / 0.7422 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.8836, allocations: 117 kB / 0.7423 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.8836, allocations: 3.312 kB / 0.7424 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/0.8843, allocations: 71.92 kB / 0.7424 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.8844, allocations: 27.3 kB / 0.7424 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.8845, allocations: 23.94 kB / 0.7425 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.8845, allocations: 79.28 kB / 0.7425 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8845, allocations: 0 / 0.7425 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004488/0.885, allocations: 63.3 kB / 0.7426 GB, free: 13.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.00157/0.8866, allocations: 1.126 MB / 0.7437 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006399/0.8872, allocations: 271.6 kB / 0.744 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8872, allocations: 0 / 0.744 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.8876, allocations: 147.4 kB / 0.7441 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.8878, allocations: 0 / 0.7441 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.8918, allocations: 0.7414 MB / 0.7448 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.8922, allocations: 0.7004 MB / 0.7455 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006868/0.8928, allocations: 96.59 kB / 0.7456 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.8932, allocations: 69.23 kB / 0.7457 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of SimCode: time 3.356e-06/0.8932, allocations: 0 / 0.7457 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.9123, allocations: 4.155 MB / 0.7497 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/0.9126, allocations: 182.4 kB / 0.7499 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.739, allocations: 0 / 0.7499 GB, free: 6.359 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)