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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007789/0.0007789, allocations: 101.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008607/0.0008607, allocations: 212 kB / 22.25 MB, free: 3.578 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8178/0.8178, allocations: 203.8 MB / 0.5042 GB, free: 10.5 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 68.48 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5339, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001881/0.5357, allocations: 1.462 MB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00097/0.5367, allocations: 0.761 MB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.5367, allocations: 0 / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.5368, allocations: 4.734 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.847e-05/0.5368, allocations: 10.56 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.5372, allocations: 124.9 kB / 0.8201 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.5373, allocations: 41.88 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.784e-05/0.5374, allocations: 5.266 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.167e-05/0.5374, allocations: 15.44 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.5374, allocations: 19.47 kB / 0.8202 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.5375, allocations: 3.219 kB / 0.8202 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.5378, allocations: 252.5 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.5378, allocations: 9.328 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.5378, allocations: 10.81 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.538, allocations: 187.3 kB / 0.8206 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5381, allocations: 0 / 0.8206 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5381, allocations: 0 / 0.8206 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.5381, allocations: 0 / 0.8206 GB, free: 15.33 MB / 0.6198 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.0004092/0.5385, allocations: 298.1 kB / 0.8209 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5385, allocations: 14.19 kB / 0.8209 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.5385, allocations: 39.5 kB / 0.821 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.5388, allocations: 70.52 kB / 0.821 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.5389, allocations: 112 kB / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.5389, allocations: 384 / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.5389, allocations: 384 / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.5391, allocations: 96 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5391, allocations: 0 / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.5392, allocations: 0 / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.5392, allocations: 0 / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.5394, allocations: 89.8 kB / 0.8213 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.5397, allocations: 256.3 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.5399, allocations: 101.2 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.54, allocations: 53.58 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.54, allocations: 3.938 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.5401, allocations: 32.66 kB / 0.8217 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5401, allocations: 0 / 0.8217 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003892/0.5405, allocations: 174.6 kB / 0.8219 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.5405, allocations: 52.78 kB / 0.8219 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.5405, allocations: 103.2 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.5405, allocations: 25.7 kB / 0.8221 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.5406, allocations: 84.36 kB / 0.8222 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.5406, allocations: 8.562 kB / 0.8222 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.5406, allocations: 15.03 kB / 0.8222 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.5407, allocations: 316.5 kB / 0.8225 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.5408, allocations: 48.8 kB / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.5409, allocations: 46.36 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.5411, allocations: 90.11 kB / 0.8227 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5411, allocations: 5.156 kB / 0.8227 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002337/0.5414, allocations: 119.6 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.5414, allocations: 4.219 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5414, allocations: 0 / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.5414, allocations: 1.312 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.5415, allocations: 20.69 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5415, allocations: 2.078 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.5415, allocations: 20.55 kB / 0.8228 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.5415, allocations: 1.562 kB / 0.8228 GB, free: 13.67 MB / 0.6198 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.364e-05/0.5416, allocations: 120.3 kB / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.5416, allocations: 5.234 kB / 0.8229 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.5416, allocations: 9.609 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.5416, allocations: 0 / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5416, allocations: 1.406 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5416, allocations: 4.828 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.5417, allocations: 137.2 kB / 0.8231 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5417, allocations: 9.562 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.5418, allocations: 19.84 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.5418, allocations: 5.219 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.5418, allocations: 0.6562 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5418, allocations: 1.672 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5418, allocations: 0 / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.5421, allocations: 220 kB / 0.8233 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.5421, allocations: 2.188 kB / 0.8233 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.5421, allocations: 1.25 kB / 0.8233 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.5422, allocations: 20.47 kB / 0.8234 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.5422, allocations: 7.719 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.5422, allocations: 0.5938 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.5423, allocations: 86.05 kB / 0.8234 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5423, allocations: 0 / 0.8234 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001528/0.5424, allocations: 15.83 kB / 0.8235 GB, free: 13.12 MB / 0.6198 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.0004833/0.5429, allocations: 0.7605 MB / 0.8242 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.5432, allocations: 104.6 kB / 0.8243 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.5432, allocations: 0 / 0.8243 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.5433, allocations: 44.78 kB / 0.8243 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.5435, allocations: 9.562 kB / 0.8244 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.544, allocations: 198.9 kB / 0.8245 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.383e-05/0.544, allocations: 59.61 kB / 0.8246 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.854e-05/0.5441, allocations: 12.31 kB / 0.8246 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.5441, allocations: 11.33 kB / 0.8246 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.5441, allocations: 0 / 0.8246 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.559, allocations: 2.264 MB / 0.8268 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.593/7.152, allocations: 0 / 0.8268 GB, free: 11.26 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.302820275072008] Failed to read output from testmodel.py, exit status != 0: 7.231470793951303 7.244825298 6.704362262 Calling exit ...