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.0052/0.0052, allocations: 100.4 kB / 15.78 MB, free: 5.977 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.001433/0.001433, allocations: 193.9 kB / 16.73 MB, free: 5.852 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.453/1.453, allocations: 225.6 MB / 243.1 MB, free: 3.742 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.854/0.854, allocations: 133.9 MB / 429.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003185/0.003185, allocations: 63.91 kB / 0.5966 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4436, allocations: 84.69 MB / 0.6793 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002284/0.4459, allocations: 1.436 MB / 0.6807 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.4472, allocations: 0.7941 MB / 0.6815 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.4473, allocations: 0 / 0.6815 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.4473, allocations: 5.484 kB / 0.6815 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.4473, allocations: 7.938 kB / 0.6815 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.4478, allocations: 133.9 kB / 0.6817 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.939e-05/0.4478, allocations: 26.73 kB / 0.6817 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.4479, allocations: 9.25 kB / 0.6817 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.194e-05/0.448, allocations: 10.64 kB / 0.6817 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.448, allocations: 26.88 kB / 0.6817 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.4481, allocations: 7.344 kB / 0.6817 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.4485, allocations: 313.5 kB / 0.682 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.4486, allocations: 9.297 kB / 0.682 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.4486, allocations: 14.17 kB / 0.6821 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.4489, allocations: 200.8 kB / 0.6822 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4489, allocations: 1.062 kB / 0.6822 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4489, allocations: 0 / 0.6822 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.4489, allocations: 0 / 0.6822 GB, free: 14.75 MB / 0.5137 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.0005521/0.4495, allocations: 379.9 kB / 0.6826 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4495, allocations: 8.906 kB / 0.6826 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.4496, allocations: 36 kB / 0.6827 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004576/0.45, allocations: 66.81 kB / 0.6827 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.4502, allocations: 170.4 kB / 0.6829 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.4502, allocations: 1.5 kB / 0.6829 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.4502, allocations: 1.438 kB / 0.6829 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.4505, allocations: 93.69 kB / 0.683 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4505, allocations: 0.9688 kB / 0.683 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.4506, allocations: 0 / 0.683 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4506, allocations: 9.062 kB / 0.683 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.451, allocations: 87.38 kB / 0.6831 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.4515, allocations: 297.2 kB / 0.6833 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.4519, allocations: 99.3 kB / 0.6834 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.4521, allocations: 46.5 kB / 0.6835 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.4522, allocations: 0 / 0.6835 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.4522, allocations: 39.56 kB / 0.6835 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.4522, allocations: 1.094 kB / 0.6835 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0007154/0.4529, allocations: 160.5 kB / 0.6837 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.453, allocations: 52.62 kB / 0.6837 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.4531, allocations: 107.8 kB / 0.6838 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.4531, allocations: 29.83 kB / 0.6839 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.4532, allocations: 85.42 kB / 0.6839 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.4532, allocations: 5.203 kB / 0.6839 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.4532, allocations: 13.03 kB / 0.684 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4534, allocations: 327.8 kB / 0.6843 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.4536, allocations: 45.27 kB / 0.6843 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.4538, allocations: 41.42 kB / 0.6844 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.4541, allocations: 89.7 kB / 0.6844 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4541, allocations: 0 / 0.6844 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004438/0.4546, allocations: 128.8 kB / 0.6846 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4546, allocations: 9.594 kB / 0.6846 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4546, allocations: 3.938 kB / 0.6846 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4546, allocations: 1.156 kB / 0.6846 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.4548, allocations: 24.69 kB / 0.6846 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4548, allocations: 5.125 kB / 0.6846 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4549, allocations: 17.77 kB / 0.6846 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.4549, allocations: 1.438 kB / 0.6846 GB, free: 12.6 MB / 0.5137 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 0.0001078/0.455, allocations: 120.5 kB / 0.6847 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.455, allocations: 1.562 kB / 0.6847 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.4551, allocations: 7.125 kB / 0.6847 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4551, allocations: 1.469 kB / 0.6847 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4551, allocations: 0 / 0.6847 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4551, allocations: 0 / 0.6847 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.4553, allocations: 178.1 kB / 0.6849 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4553, allocations: 4 kB / 0.6849 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.4554, allocations: 20.91 kB / 0.6849 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.4554, allocations: 1.625 kB / 0.6849 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.4555, allocations: 0 / 0.6849 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4555, allocations: 1.5 kB / 0.6849 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4555, allocations: 0 / 0.6849 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.456, allocations: 227.6 kB / 0.6852 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.456, allocations: 82.23 kB / 0.6852 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.456, allocations: 1.062 kB / 0.6852 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4562, allocations: 18.59 kB / 0.6853 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.4562, allocations: 0.9688 kB / 0.6853 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.4562, allocations: 1.156 kB / 0.6853 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.4563, allocations: 91.92 kB / 0.6854 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.4563, allocations: 0 / 0.6854 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002449/0.4565, allocations: 18.81 kB / 0.6854 GB, free: 11.86 MB / 0.5137 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.0009183/0.4574, allocations: 0.7533 MB / 0.6861 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004558/0.4579, allocations: 102.6 kB / 0.6862 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4579, allocations: 0 / 0.6862 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.4581, allocations: 47.95 kB / 0.6862 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.4584, allocations: 7.297 kB / 0.6863 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007408/0.4592, allocations: 206 kB / 0.6865 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.4595, allocations: 0.6734 MB / 0.6871 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.378e-05/0.4596, allocations: 11.77 kB / 0.6871 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.4596, allocations: 13.69 kB / 0.6871 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of SimCode: time 4.7e-07/0.4596, allocations: 3.938 kB / 0.6871 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.4837, allocations: 1.673 MB / 0.6888 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.484, allocations: 14.75 kB / 0.6888 GB, free: 9.25 MB / 0.5137 GB (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)