Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8427/0.8427, allocations: 133.4 MB / 146.7 MB, free: 10.76 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008548/0.0008548, allocations: 89.56 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.293e-05/5.295e-05, allocations: 3.875 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1717, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6217/0.7934, allocations: 112.8 MB / 0.7506 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.7938, allocations: 80.89 kB / 0.7507 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01565/0.8094, allocations: 5.515 MB / 0.7561 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8095, allocations: 0 / 0.7561 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.8095, allocations: 0 / 0.7561 GB, free: 27.31 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005514/0.8101, allocations: 411.1 kB / 0.7565 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.8101, allocations: 7.75 kB / 0.7565 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.8102, allocations: 37.8 kB / 0.7565 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.8105, allocations: 67.19 kB / 0.7566 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.8107, allocations: 170.9 kB / 0.7568 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.8107, allocations: 5.625 kB / 0.7568 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.8107, allocations: 6.594 kB / 0.7568 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.8109, allocations: 81.56 kB / 0.7569 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.811, allocations: 1.812 kB / 0.7569 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.811, allocations: 3.844 kB / 0.7569 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.811, allocations: 0 / 0.7569 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.8111, allocations: 41.48 kB / 0.7569 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.8117, allocations: 342.2 kB / 0.7572 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.8119, allocations: 70.78 kB / 0.7573 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.8119, allocations: 24.86 kB / 0.7573 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.8119, allocations: 0 / 0.7573 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.812, allocations: 30.56 kB / 0.7574 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.812, allocations: 3.844 kB / 0.7574 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.01249/0.8245, allocations: 2.112 MB / 0.7594 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.8245, allocations: 55.22 kB / 0.7595 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.8246, allocations: 95.92 kB / 0.7596 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.8247, allocations: 32.2 kB / 0.7596 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.8248, allocations: 91.89 kB / 0.7597 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.8248, allocations: 37.08 kB / 0.7597 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.8249, allocations: 3.562 kB / 0.7597 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.825, allocations: 318.5 kB / 0.76 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.8252, allocations: 116.3 kB / 0.7601 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.8254, allocations: 115.2 kB / 0.7602 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.8257, allocations: 117.7 kB / 0.7604 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.8257, allocations: 0 / 0.7604 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006507/0.8263, allocations: 322.5 kB / 0.7607 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.8264, allocations: 7.797 kB / 0.7607 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8264, allocations: 4 kB / 0.7607 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.8264, allocations: 4.031 kB / 0.7607 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.8272, allocations: 121.5 kB / 0.7608 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.8272, allocations: 3.844 kB / 0.7608 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.8278, allocations: 58.66 kB / 0.7609 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.8279, allocations: 27.73 kB / 0.7609 GB, free: 24.16 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 () * 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.0001346/0.828, allocations: 104.5 kB / 0.761 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.8281, allocations: 3.875 kB / 0.761 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.8281, allocations: 14.48 kB / 0.761 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.8281, allocations: 3.75 kB / 0.761 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8281, allocations: 4 kB / 0.761 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8282, allocations: 3.984 kB / 0.761 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.8294, allocations: 0.907 MB / 0.7619 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8294, allocations: 7.984 kB / 0.7619 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/0.8301, allocations: 112.8 kB / 0.762 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.8302, allocations: 3.844 kB / 0.762 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.8302, allocations: 19.78 kB / 0.762 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8302, allocations: 0 / 0.762 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8302, allocations: 0 / 0.762 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.8312, allocations: 0.5699 MB / 0.7626 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.8314, allocations: 123.2 kB / 0.7627 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.8315, allocations: 0 / 0.7627 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.8321, allocations: 58.75 kB / 0.7628 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.8322, allocations: 26.95 kB / 0.7628 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.8323, allocations: 27.61 kB / 0.7628 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.8323, allocations: 81.44 kB / 0.7629 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8323, allocations: 0 / 0.7629 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003685/0.8327, allocations: 60.09 kB / 0.763 GB, free: 22.74 MB / 0.5105 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.001454/0.8342, allocations: 1.129 MB / 0.7641 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.8347, allocations: 265.4 kB / 0.7643 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8347, allocations: 0 / 0.7643 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.835, allocations: 153.4 kB / 0.7645 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.8352, allocations: 12.86 kB / 0.7645 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.8388, allocations: 0.7344 MB / 0.7652 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.8391, allocations: 0.7025 MB / 0.7659 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006468/0.8398, allocations: 87.36 kB / 0.766 GB, free: 20.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.8401, allocations: 65.55 kB / 0.766 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/0.8401, allocations: 0 / 0.766 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.8571, allocations: 4.121 MB / 0.77 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.8573, allocations: 162.3 kB / 0.7702 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.5, allocations: 3.688 kB / 0.7702 GB, free: 18.3 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)