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.001058/0.001058, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009907/0.0009907, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9516/0.9516, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7472/0.7472, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.618 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.225e-05, allocations: 2.281 kB / 0.618 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.00207/0.002093, allocations: 1.466 MB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.003092, allocations: 0.7555 MB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.003128, allocations: 0 / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.003157, allocations: 3.938 kB / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.309e-05/0.0032, allocations: 3.938 kB / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.003614, allocations: 142.8 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.952e-05/0.003683, allocations: 31.91 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.003774, allocations: 8 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.00383, allocations: 15.98 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.003882, allocations: 15.98 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.003896, allocations: 7.938 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.004162, allocations: 251.5 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.004179, allocations: 11.91 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.004202, allocations: 11.98 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.004523, allocations: 207.5 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.004527, allocations: 0 / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.904e-06/0.004529, allocations: 0 / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.004535, allocations: 0 / 0.6209 GB, free: 10.63 MB / 0.5886 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.0005029/0.005038, allocations: 301.9 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.005088, allocations: 13.47 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.00513, allocations: 30.75 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.005441, allocations: 68.84 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.21e-05/0.005533, allocations: 105.8 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.005562, allocations: 4.375 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.005575, allocations: 384 / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.005767, allocations: 82.12 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.005774, allocations: 4.188 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.005787, allocations: 8.125 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.005792, allocations: 0 / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.006009, allocations: 95.83 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.006435, allocations: 259.9 kB / 0.6218 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.006641, allocations: 94.48 kB / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.006746, allocations: 56.81 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.006761, allocations: 4 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.00678, allocations: 34.5 kB / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.006782, allocations: 0 / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0004073/0.007189, allocations: 165.6 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.007221, allocations: 51.41 kB / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.368e-05/0.007285, allocations: 101.9 kB / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.007296, allocations: 25.7 kB / 0.6223 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.007336, allocations: 88.12 kB / 0.6224 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.007357, allocations: 7.891 kB / 0.6224 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.007388, allocations: 13.72 kB / 0.6224 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.007564, allocations: 318.8 kB / 0.6227 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.007672, allocations: 47.97 kB / 0.6228 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.007765, allocations: 39.95 kB / 0.6228 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.00795, allocations: 96.77 kB / 0.6229 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007952, allocations: 0 / 0.6229 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002234/0.008175, allocations: 129.5 kB / 0.623 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.00819, allocations: 8 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008195, allocations: 0 / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.008209, allocations: 0 / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.008304, allocations: 19.97 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.008311, allocations: 0 / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.008363, allocations: 20.02 kB / 0.6231 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.008369, allocations: 0 / 0.6231 GB, free: 8.191 MB / 0.5886 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 6.502e-05/0.008434, allocations: 114.8 kB / 0.6232 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.008451, allocations: 11.88 kB / 0.6232 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.008487, allocations: 19.23 kB / 0.6232 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.008489, allocations: 0 / 0.6232 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.008495, allocations: 256 / 0.6232 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008497, allocations: 3.938 kB / 0.6232 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.008615, allocations: 132.8 kB / 0.6234 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.008617, allocations: 3.938 kB / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/0.008677, allocations: 23.97 kB / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008679, allocations: 4 kB / 0.6234 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.008687, allocations: 0 / 0.6234 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.008688, allocations: 0 / 0.6234 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008689, allocations: 0 / 0.6234 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.008947, allocations: 215.5 kB / 0.6236 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.008964, allocations: 11.89 kB / 0.6236 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.008977, allocations: 0 / 0.6236 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.009043, allocations: 20 kB / 0.6236 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.00908, allocations: 8 kB / 0.6236 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.009085, allocations: 3.984 kB / 0.6236 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.009113, allocations: 79.28 kB / 0.6237 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.009113, allocations: 0 / 0.6237 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001709/0.009284, allocations: 15.94 kB / 0.6237 GB, free: 7.465 MB / 0.5886 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.0005091/0.009793, allocations: 0.763 MB / 0.6245 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.01004, allocations: 99.94 kB / 0.6246 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01004, allocations: 0 / 0.6246 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.01015, allocations: 51.95 kB / 0.6246 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.01041, allocations: 13.64 kB / 0.6246 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.0109, allocations: 190.5 kB / 0.6248 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.958e-05/0.01095, allocations: 59.34 kB / 0.6249 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.092e-05/0.011, allocations: 12 kB / 0.6249 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.01104, allocations: 8.5 kB / 0.6249 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.01104, allocations: 4 kB / 0.6249 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.02957, allocations: 2.383 MB / 0.6272 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/6.902, allocations: 10.7 kB / 0.6272 GB, free: 3.949 MB / 0.5886 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: 9.903100529685616] Failed to read output from testmodel.py, exit status != 0: 6.982947154901922 6.993252698 6.986132703 Calling exit ...