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/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004866/0.004866, allocations: 99.11 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.00151, allocations: 202.3 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.977/0.977, allocations: 135.6 MB / 426.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.001901, allocations: 67.89 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.415, allocations: 81.03 MB / 0.6649 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002321/0.4174, allocations: 1.431 MB / 0.6663 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.4185, allocations: 0.7885 MB / 0.6671 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.4185, allocations: 0 / 0.6671 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.4186, allocations: 7.984 kB / 0.6671 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.4186, allocations: 5.312 kB / 0.6671 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.419, allocations: 125 kB / 0.6672 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.434e-05/0.4191, allocations: 34.2 kB / 0.6672 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.4192, allocations: 7.094 kB / 0.6672 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.195e-05/0.4193, allocations: 14.73 kB / 0.6672 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.4193, allocations: 22.91 kB / 0.6673 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.4193, allocations: 2.562 kB / 0.6673 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.4198, allocations: 318.1 kB / 0.6676 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.4198, allocations: 7.984 kB / 0.6676 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.4198, allocations: 14.92 kB / 0.6676 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.4201, allocations: 197.7 kB / 0.6678 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4201, allocations: 0 / 0.6678 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4201, allocations: 0 / 0.6678 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.4201, allocations: 1.25 kB / 0.6678 GB, free: 4.824 MB / 0.4981 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.0004582/0.4206, allocations: 379.1 kB / 0.6681 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4206, allocations: 8.906 kB / 0.6681 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.4207, allocations: 31.97 kB / 0.6682 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004465/0.4211, allocations: 67.62 kB / 0.6682 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/0.4212, allocations: 169.6 kB / 0.6684 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.4213, allocations: 5.719 kB / 0.6684 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.4213, allocations: 2.094 kB / 0.6684 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.4216, allocations: 89.81 kB / 0.6685 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4216, allocations: 0 / 0.6685 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4216, allocations: 0 / 0.6685 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4216, allocations: 1.312 kB / 0.6685 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.422, allocations: 94.73 kB / 0.6686 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.4225, allocations: 293.5 kB / 0.6689 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.4228, allocations: 103.8 kB / 0.669 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.4231, allocations: 47.16 kB / 0.669 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.4231, allocations: 4 kB / 0.669 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.4231, allocations: 31.84 kB / 0.669 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.4231, allocations: 0 / 0.669 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007205/0.4238, allocations: 164.8 kB / 0.6692 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.4239, allocations: 56.59 kB / 0.6693 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.084e-05/0.4239, allocations: 104.3 kB / 0.6694 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.4239, allocations: 33.62 kB / 0.6694 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.424, allocations: 81.64 kB / 0.6695 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.424, allocations: 9.609 kB / 0.6695 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.424, allocations: 16.16 kB / 0.6695 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.4241, allocations: 319.9 kB / 0.6698 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.4243, allocations: 45.11 kB / 0.6698 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.4245, allocations: 46.14 kB / 0.6699 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.4249, allocations: 93.64 kB / 0.67 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4249, allocations: 0 / 0.67 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004323/0.4253, allocations: 125.3 kB / 0.6701 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4253, allocations: 4.25 kB / 0.6701 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4253, allocations: 1.125 kB / 0.6701 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4254, allocations: 3.938 kB / 0.6701 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.4255, allocations: 22.19 kB / 0.6701 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4255, allocations: 3.938 kB / 0.6701 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.4257, allocations: 18.17 kB / 0.6701 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.4257, allocations: 1.156 kB / 0.6701 GB, free: 2.688 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.4257, allocations: 120 kB / 0.6703 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.4258, allocations: 1.188 kB / 0.6703 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.4258, allocations: 4.125 kB / 0.6703 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4258, allocations: 1.188 kB / 0.6703 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4258, allocations: 0 / 0.6703 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4258, allocations: 7.984 kB / 0.6703 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.426, allocations: 177.3 kB / 0.6704 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.426, allocations: 1.125 kB / 0.6704 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.4261, allocations: 21.75 kB / 0.6705 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4261, allocations: 0 / 0.6705 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4261, allocations: 0.75 kB / 0.6705 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4261, allocations: 1.531 kB / 0.6705 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4261, allocations: 0 / 0.6705 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.4266, allocations: 230.7 kB / 0.6707 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.4266, allocations: 82.56 kB / 0.6708 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.4266, allocations: 0 / 0.6708 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.4268, allocations: 18.31 kB / 0.6708 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.4268, allocations: 6.656 kB / 0.6708 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.4268, allocations: 1.406 kB / 0.6708 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.277e-05/0.4269, allocations: 91.11 kB / 0.6709 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4269, allocations: 0 / 0.6709 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002408/0.4271, allocations: 14.12 kB / 0.6709 GB, free: 1.938 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006648/0.4278, allocations: 0.7575 MB / 0.6716 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004583/0.4283, allocations: 106.2 kB / 0.6717 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4283, allocations: 4.062 kB / 0.6717 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.4285, allocations: 47.92 kB / 0.6718 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.4288, allocations: 4.062 kB / 0.6718 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.4294, allocations: 192.5 kB / 0.672 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.635e-05/0.4295, allocations: 0.678 MB / 0.6726 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.606e-05/0.4296, allocations: 10.69 kB / 0.6726 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.4297, allocations: 17.8 kB / 0.6727 GB, free: 256 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4297, allocations: 0 / 0.6727 GB, free: 256 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.4579, allocations: 1.676 MB / 0.6743 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.914/9.372, allocations: 5.375 kB / 0.6743 GB, free: 15.31 MB / 0.5137 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/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)