Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.044/1.044, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 188.6 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009884/0.0009884, allocations: 101.5 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001898/0.001898, allocations: 272.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.344e-05/4.373e-05, allocations: 8 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5196, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.6544, allocations: 109.3 MB / 0.8711 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.6548, allocations: 79.95 kB / 0.8712 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01257/0.6674, allocations: 4.116 MB / 0.8752 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6675, allocations: 0 / 0.8752 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.6675, allocations: 0 / 0.8752 GB, free: 11.01 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004696/0.6679, allocations: 370.8 kB / 0.8756 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.668, allocations: 12.03 kB / 0.8756 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.6681, allocations: 30.56 kB / 0.8756 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.6685, allocations: 63.92 kB / 0.8757 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.6686, allocations: 163 kB / 0.8758 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.6687, allocations: 11.95 kB / 0.8759 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.6687, allocations: 4 kB / 0.8759 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.6688, allocations: 57.64 kB / 0.8759 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.6689, allocations: 0 / 0.8759 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.6689, allocations: 0 / 0.8759 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6689, allocations: 0 / 0.8759 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.669, allocations: 19.94 kB / 0.8759 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.6692, allocations: 169.6 kB / 0.8761 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.6695, allocations: 62.62 kB / 0.8762 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.6695, allocations: 24.8 kB / 0.8762 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.6696, allocations: 4 kB / 0.8762 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.6696, allocations: 30.56 kB / 0.8762 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.6696, allocations: 0 / 0.8762 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0005993/0.6702, allocations: 274.5 kB / 0.8765 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.6703, allocations: 67.39 kB / 0.8765 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.788e-05/0.6704, allocations: 85 kB / 0.8766 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.6704, allocations: 25.7 kB / 0.8766 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.6704, allocations: 84.12 kB / 0.8767 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.6705, allocations: 27.59 kB / 0.8768 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.6705, allocations: 0 / 0.8768 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6707, allocations: 314.8 kB / 0.8771 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/0.6707, allocations: 20.12 kB / 0.8771 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.6707, allocations: 12 kB / 0.8771 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.6708, allocations: 12 kB / 0.8771 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.6708, allocations: 0 / 0.8771 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001241/0.6709, allocations: 65.64 kB / 0.8772 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.671, allocations: 9.406 kB / 0.8772 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.671, allocations: 0 / 0.8772 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.671, allocations: 0 / 0.8772 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.6712, allocations: 32.22 kB / 0.8772 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.6712, allocations: 0 / 0.8772 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.6713, allocations: 27.92 kB / 0.8772 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.6713, allocations: 0 / 0.8772 GB, free: 8.707 MB / 0.5417 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 (6): * Single equations (assignments): 6 * 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 8.622e-05/0.6714, allocations: 108.9 kB / 0.8773 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.6714, allocations: 3.953 kB / 0.8773 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.6717, allocations: 93.2 kB / 0.8774 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6717, allocations: 0 / 0.8774 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6717, allocations: 0 / 0.8774 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6717, allocations: 4 kB / 0.8774 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.6719, allocations: 173.6 kB / 0.8776 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6719, allocations: 0 / 0.8776 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.672, allocations: 23.92 kB / 0.8776 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.672, allocations: 7.953 kB / 0.8776 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.6721, allocations: 0 / 0.8776 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6721, allocations: 0 / 0.8776 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6721, allocations: 0 / 0.8776 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.6723, allocations: 121 kB / 0.8777 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/0.6724, allocations: 85.12 kB / 0.8778 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.6724, allocations: 3.953 kB / 0.8778 GB, free: 8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.6726, allocations: 19.98 kB / 0.8778 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.6726, allocations: 12.05 kB / 0.8779 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.6726, allocations: 192 / 0.8779 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.6727, allocations: 79.28 kB / 0.8779 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6727, allocations: 0 / 0.8779 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002325/0.6729, allocations: 47.92 kB / 0.878 GB, free: 7.844 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006314/0.6736, allocations: 0.6946 MB / 0.8787 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.6737, allocations: 43.94 kB / 0.8787 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6737, allocations: 0 / 0.8787 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.6738, allocations: 20 kB / 0.8787 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.6739, allocations: 8.516 kB / 0.8787 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.6745, allocations: 186.4 kB / 0.8789 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.6748, allocations: 0.6809 MB / 0.8796 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.6749, allocations: 16 kB / 0.8796 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.675, allocations: 19.42 kB / 0.8796 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.675, allocations: 0 / 0.8796 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.7019, allocations: 1.815 MB / 0.8814 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.7021, allocations: 184.2 kB / 0.8815 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.5, allocations: 0 / 0.8815 GB, free: 4.23 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)