Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_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.0007897/0.0007898, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004301/0.004301, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.184/1.184, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6825/0.6825, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002713, allocations: 8.562 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3302, allocations: 81.56 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.00133/0.3316, allocations: 1.165 MB / 0.5849 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3327, allocations: 0.7944 MB / 0.5857 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.3327, allocations: 1.156 kB / 0.5857 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.3327, allocations: 2.641 kB / 0.5857 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.3328, allocations: 8.719 kB / 0.5857 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.3332, allocations: 102.5 kB / 0.5858 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.887e-05/0.3332, allocations: 27.53 kB / 0.5858 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.792e-05/0.3333, allocations: 7.188 kB / 0.5858 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.3334, allocations: 22.34 kB / 0.5858 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.3334, allocations: 20.17 kB / 0.5858 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3334, allocations: 2.281 kB / 0.5858 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004652/0.3339, allocations: 316.5 kB / 0.5861 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.3339, allocations: 7.719 kB / 0.5862 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.334, allocations: 34.19 kB / 0.5862 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.3343, allocations: 197.8 kB / 0.5864 GB, free: 2.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3343, allocations: 0 / 0.5864 GB, free: 2.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3343, allocations: 0 / 0.5864 GB, free: 2.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.3343, allocations: 0 / 0.5864 GB, free: 2.371 MB / 430.1 MB 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.0004109/0.3347, allocations: 383.3 kB / 0.5867 GB, free: 1.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3348, allocations: 9.312 kB / 0.5867 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.3348, allocations: 32.64 kB / 0.5868 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/0.3353, allocations: 78.38 kB / 0.5869 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.609e-05/0.3353, allocations: 167.6 kB / 0.587 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.3354, allocations: 384 / 0.587 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.3354, allocations: 2.547 kB / 0.587 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.3357, allocations: 108 kB / 0.5871 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.3357, allocations: 0 / 0.5871 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3357, allocations: 4.875 kB / 0.5871 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3357, allocations: 0.75 kB / 0.5871 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.3361, allocations: 115.1 kB / 0.5872 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.3366, allocations: 301.3 kB / 0.5875 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.337, allocations: 113.4 kB / 0.5876 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.3372, allocations: 71.2 kB / 0.5877 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.3372, allocations: 0 / 0.5877 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.3372, allocations: 32.2 kB / 0.5877 GB, free: 1.281 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3372, allocations: 0.5312 kB / 0.5877 GB, free: 1.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007175/0.338, allocations: 205.4 kB / 0.5879 GB, free: 1.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.338, allocations: 51.41 kB / 0.588 GB, free: 1.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.19e-05/0.338, allocations: 103.2 kB / 0.5881 GB, free: 1.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.3381, allocations: 29.7 kB / 0.5881 GB, free: 1.023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.3381, allocations: 82.75 kB / 0.5882 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.3381, allocations: 5.328 kB / 0.5882 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/0.3381, allocations: 11.12 kB / 0.5882 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.628e-05/0.3382, allocations: 324.2 kB / 0.5885 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3384, allocations: 56.84 kB / 0.5886 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3386, allocations: 57.73 kB / 0.5886 GB, free: 0.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.339, allocations: 115.8 kB / 0.5887 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.339, allocations: 0 / 0.5887 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004549/0.3395, allocations: 153.3 kB / 0.5889 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3395, allocations: 5.312 kB / 0.5889 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3395, allocations: 0.6094 kB / 0.5889 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3395, allocations: 0 / 0.5889 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.3397, allocations: 30.06 kB / 0.5889 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3397, allocations: 1.984 kB / 0.5889 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3398, allocations: 21.16 kB / 0.5889 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3398, allocations: 6.25 kB / 0.5889 GB, free: 0.4961 MB / 430.1 MB 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 4.672e-05/0.3399, allocations: 118 kB / 0.589 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.3399, allocations: 1.344 kB / 0.589 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.34, allocations: 8.281 kB / 0.5891 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.34, allocations: 1.969 kB / 0.5891 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.34, allocations: 3.938 kB / 0.5891 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.34, allocations: 0 / 0.5891 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.3401, allocations: 181.1 kB / 0.5892 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3401, allocations: 0 / 0.5892 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3403, allocations: 30.66 kB / 0.5893 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3403, allocations: 1.438 kB / 0.5893 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3403, allocations: 0.7031 kB / 0.5893 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3403, allocations: 0.875 kB / 0.5893 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3403, allocations: 0.5625 kB / 0.5893 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.3408, allocations: 245.1 kB / 0.5895 GB, free: 0 / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.3408, allocations: 81.67 kB / 0.5896 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3408, allocations: 2.172 kB / 0.5896 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.341, allocations: 29.66 kB / 0.5896 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.341, allocations: 14.91 kB / 0.5896 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.3411, allocations: 1.891 kB / 0.5896 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.429e-05/0.3411, allocations: 85.59 kB / 0.5897 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3411, allocations: 0 / 0.5897 GB, free: 15.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.3413, allocations: 14.78 kB / 0.5897 GB, free: 15.8 MB / 446.1 MB 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.0007549/0.3421, allocations: 0.7787 MB / 0.5905 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004757/0.3426, allocations: 122.4 kB / 0.5906 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3426, allocations: 5.344 kB / 0.5906 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.3428, allocations: 56.08 kB / 0.5907 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.3431, allocations: 6.766 kB / 0.5907 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.3437, allocations: 207.2 kB / 0.5909 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.3439, allocations: 0.6773 MB / 0.5915 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.353e-05/0.344, allocations: 15.7 kB / 0.5915 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.3441, allocations: 14.94 kB / 0.5915 GB, free: 14.21 MB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3441, allocations: 0 / 0.5915 GB, free: 14.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3094/0.6535, allocations: 1.393 MB / 0.5929 GB, free: 14.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.6538, allocations: 189.5 kB / 0.5931 GB, free: 13.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.212, allocations: 1.25 kB / 0.5931 GB, free: 13.8 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)