Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.002002/0.002002, allocations: 174.7 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.8899/0.8899, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.695/1.695, allocations: 221.3 MB / 400.4 MB, free: 5.887 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.0008816/0.0008814, allocations: 99.77 kB / 483.3 MB, free: 5.906 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.374e-05, allocations: 3.719 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1676, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5624/0.73, allocations: 112.4 MB / 0.7503 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.7302, allocations: 75.55 kB / 0.7504 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01091/0.7412, allocations: 3.823 MB / 0.7541 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7412, allocations: 3.844 kB / 0.7541 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.7412, allocations: 0 / 0.7541 GB, free: 27.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004533/0.7417, allocations: 388.3 kB / 0.7545 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.7417, allocations: 11.69 kB / 0.7545 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.7418, allocations: 38.44 kB / 0.7545 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003574/0.7421, allocations: 65.7 kB / 0.7546 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.7422, allocations: 172.6 kB / 0.7547 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.7423, allocations: 0 / 0.7547 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.7423, allocations: 0 / 0.7547 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.7424, allocations: 60.3 kB / 0.7548 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.7424, allocations: 0 / 0.7548 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.7424, allocations: 4 kB / 0.7548 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.7424, allocations: 0 / 0.7548 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.078e-05/0.7425, allocations: 25.53 kB / 0.7548 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.7429, allocations: 293.4 kB / 0.7551 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.399e-05/0.743, allocations: 38.25 kB / 0.7551 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.7431, allocations: 22.95 kB / 0.7552 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.7431, allocations: 0 / 0.7552 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.7431, allocations: 30.56 kB / 0.7552 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.7431, allocations: 0 / 0.7552 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001645/0.7433, allocations: 60.73 kB / 0.7552 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.7433, allocations: 55.28 kB / 0.7553 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/0.7434, allocations: 97.72 kB / 0.7554 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.7434, allocations: 29.73 kB / 0.7554 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.7434, allocations: 83.58 kB / 0.7555 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.7435, allocations: 7.688 kB / 0.7555 GB, free: 26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.7435, allocations: 0 / 0.7555 GB, free: 26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7436, allocations: 312.4 kB / 0.7558 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.7436, allocations: 14 kB / 0.7558 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.7437, allocations: 15.84 kB / 0.7558 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.7437, allocations: 7.188 kB / 0.7558 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.7437, allocations: 4.062 kB / 0.7558 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001057/0.7438, allocations: 49.28 kB / 0.7559 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.7438, allocations: 7.656 kB / 0.7559 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7438, allocations: 3.938 kB / 0.7559 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.7439, allocations: 2.203 kB / 0.7559 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.744, allocations: 28.33 kB / 0.7559 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.744, allocations: 10.83 kB / 0.7559 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.7442, allocations: 20.69 kB / 0.756 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.7442, allocations: 7.609 kB / 0.756 GB, free: 25.63 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 (2): * Single equations (assignments): 2 * 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 6.163e-05/0.7442, allocations: 104.3 kB / 0.7561 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.7443, allocations: 0 / 0.7561 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.7443, allocations: 9.75 kB / 0.7561 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.7443, allocations: 3.75 kB / 0.7561 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7443, allocations: 0 / 0.7561 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.7443, allocations: 0 / 0.7561 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.7445, allocations: 171.9 kB / 0.7562 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7445, allocations: 0 / 0.7562 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.7446, allocations: 28.34 kB / 0.7563 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.7446, allocations: 2.625 kB / 0.7563 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.7446, allocations: 7.594 kB / 0.7563 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7446, allocations: 0 / 0.7563 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7446, allocations: 0 / 0.7563 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.7448, allocations: 153.3 kB / 0.7564 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.7448, allocations: 80.95 kB / 0.7565 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.7449, allocations: 2.922 kB / 0.7565 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.745, allocations: 32.59 kB / 0.7565 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.7451, allocations: 3.188 kB / 0.7565 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.7451, allocations: 3.688 kB / 0.7565 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.782e-05/0.7451, allocations: 78.97 kB / 0.7566 GB, free: 25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7451, allocations: 0 / 0.7566 GB, free: 25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000226/0.7454, allocations: 19.34 kB / 0.7566 GB, free: 25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004533/0.7458, allocations: 0.6961 MB / 0.7573 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.7459, allocations: 30.2 kB / 0.7573 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.746, allocations: 0 / 0.7573 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.746, allocations: 22.94 kB / 0.7574 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.7462, allocations: 0 / 0.7574 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.7467, allocations: 143.6 kB / 0.7575 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.7469, allocations: 0.6813 MB / 0.7582 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.696e-05/0.747, allocations: 7.906 kB / 0.7582 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.7471, allocations: 11.34 kB / 0.7582 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.7471, allocations: 0 / 0.7582 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.7582, allocations: 1.38 MB / 0.7595 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/0.7584, allocations: 157 kB / 0.7597 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.231, allocations: 2.875 kB / 0.7597 GB, free: 23.07 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)