Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",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.001738/0.001738, allocations: 174.8 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.7966/0.7966, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.608/1.608, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.0009369/0.0009371, allocations: 97.11 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.462e-05/4.465e-05, allocations: 7.969 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1792, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6533/0.8325, allocations: 112 MB / 0.7499 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.8328, allocations: 82.05 kB / 0.7499 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01179/0.8446, allocations: 4.171 MB / 0.754 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8447, allocations: 0 / 0.754 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.8447, allocations: 3.844 kB / 0.754 GB, free: 27.44 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.0003928/0.8451, allocations: 386.3 kB / 0.7544 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8451, allocations: 7.688 kB / 0.7544 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.8452, allocations: 41.3 kB / 0.7544 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.8455, allocations: 52.28 kB / 0.7545 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.8456, allocations: 174.4 kB / 0.7547 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.8456, allocations: 3.844 kB / 0.7547 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.8457, allocations: 8.859 kB / 0.7547 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.8458, allocations: 49.55 kB / 0.7547 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.8458, allocations: 0 / 0.7547 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.8458, allocations: 3.938 kB / 0.7547 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8458, allocations: 0 / 0.7547 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.8459, allocations: 30.7 kB / 0.7548 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.8461, allocations: 175.1 kB / 0.7549 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.271e-05/0.8462, allocations: 48.09 kB / 0.755 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.8462, allocations: 15.92 kB / 0.755 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.8462, allocations: 0 / 0.755 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.8463, allocations: 40.67 kB / 0.755 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.8463, allocations: 4 kB / 0.755 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.002326/0.8486, allocations: 435.4 kB / 0.7554 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.8487, allocations: 55.06 kB / 0.7555 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.8487, allocations: 102.4 kB / 0.7556 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.8488, allocations: 33.14 kB / 0.7556 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.8488, allocations: 80.14 kB / 0.7557 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.8489, allocations: 36.36 kB / 0.7557 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.8489, allocations: 0 / 0.7557 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.849, allocations: 325 kB / 0.756 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.8491, allocations: 39.16 kB / 0.7561 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.8492, allocations: 46.09 kB / 0.7561 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.98e-05/0.8493, allocations: 34.42 kB / 0.7562 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.8493, allocations: 0 / 0.7562 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002451/0.8495, allocations: 139.3 kB / 0.7563 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.8496, allocations: 5.344 kB / 0.7563 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8496, allocations: 0 / 0.7563 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8496, allocations: 3.938 kB / 0.7563 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.85, allocations: 71.77 kB / 0.7564 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.85, allocations: 3.938 kB / 0.7564 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.8502, allocations: 49.83 kB / 0.7564 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.8503, allocations: 5.578 kB / 0.7564 GB, free: 25.75 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 (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 8.491e-05/0.8504, allocations: 112 kB / 0.7565 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.8504, allocations: 3.969 kB / 0.7565 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.8504, allocations: 11.61 kB / 0.7565 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8504, allocations: 0 / 0.7565 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8504, allocations: 8 kB / 0.7565 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.8504, allocations: 0 / 0.7565 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.8515, allocations: 0.5236 MB / 0.7571 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.8516, allocations: 0 / 0.7571 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.8519, allocations: 66.34 kB / 0.7571 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.8519, allocations: 3.938 kB / 0.7571 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.8519, allocations: 5.812 kB / 0.7571 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.8519, allocations: 3.938 kB / 0.7571 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.8519, allocations: 3.953 kB / 0.7571 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.8522, allocations: 248.5 kB / 0.7574 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.8523, allocations: 81.06 kB / 0.7575 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.8523, allocations: 6.969 kB / 0.7575 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.8526, allocations: 46.86 kB / 0.7575 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.8526, allocations: 14.86 kB / 0.7575 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.8527, allocations: 6.938 kB / 0.7575 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.8527, allocations: 93.28 kB / 0.7576 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8527, allocations: 0 / 0.7576 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002888/0.853, allocations: 36.52 kB / 0.7577 GB, free: 24.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007124/0.8537, allocations: 0.9444 MB / 0.7586 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.854, allocations: 91.81 kB / 0.7587 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.854, allocations: 192 / 0.7587 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.8541, allocations: 52.19 kB / 0.7587 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.8543, allocations: 5.812 kB / 0.7587 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.8557, allocations: 412.7 kB / 0.7591 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.8561, allocations: 0.6916 MB / 0.7598 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.8562, allocations: 25.09 kB / 0.7598 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.8563, allocations: 32.92 kB / 0.7598 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.8563, allocations: 0 / 0.7598 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.8705, allocations: 2.628 MB / 0.7624 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.8707, allocations: 159.1 kB / 0.7626 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.453, allocations: 0 / 0.7626 GB, free: 21.61 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)