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.0009084/0.0009084, 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.001093/0.001093, 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.9359/0.9359, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7228/0.7228, allocations: 154.5 MB / 413.7 MB, free: 0.8242 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.543e-06/1.543e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.269e-05, allocations: 4.469 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002164/0.002197, allocations: 1.465 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.003179, allocations: 0.7593 MB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.003219, allocations: 4 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.003251, allocations: 3.938 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.003294, allocations: 3.938 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.00371, allocations: 127.5 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.049e-05/0.003781, allocations: 43.84 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.003877, allocations: 4 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.24e-05/0.003939, allocations: 15.98 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.003991, allocations: 19.97 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.004007, allocations: 4 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.004277, allocations: 251.4 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.004293, allocations: 7.984 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.004314, allocations: 11.98 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.004559, allocations: 203.5 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.004564, allocations: 0 / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.242e-06/0.004565, allocations: 0 / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.00457, allocations: 4 kB / 0.6209 GB, free: 10.79 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.0004256/0.004995, allocations: 305.8 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.005039, allocations: 9.469 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.149e-05/0.00507, allocations: 30.75 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.005331, allocations: 72.84 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.654e-05/0.005407, allocations: 101.8 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.00543, allocations: 4.375 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.00544, allocations: 384 / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.005622, allocations: 86.19 kB / 0.6215 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.005629, allocations: 192 / 0.6215 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.005641, allocations: 4.125 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.005645, allocations: 0 / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.005855, allocations: 91.89 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.006228, allocations: 263.9 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.006433, allocations: 94.48 kB / 0.6219 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.006539, allocations: 56.81 kB / 0.622 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.006559, allocations: 4 kB / 0.622 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.006583, allocations: 30.56 kB / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.006584, allocations: 0 / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000446/0.00703, allocations: 173.6 kB / 0.6222 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.007069, allocations: 51.41 kB / 0.6222 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.007146, allocations: 109.8 kB / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.00716, allocations: 29.64 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.007206, allocations: 80.14 kB / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.007228, allocations: 3.953 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.007266, allocations: 17.72 kB / 0.6224 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.007367, allocations: 318.8 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.007478, allocations: 43.98 kB / 0.6228 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.865e-05/0.007576, allocations: 47.95 kB / 0.6228 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.007768, allocations: 92.83 kB / 0.6229 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007769, allocations: 0 / 0.6229 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000235/0.008004, allocations: 125.5 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.00802, allocations: 10.19 kB / 0.6231 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.008025, allocations: 0 / 0.6231 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.008038, allocations: 0 / 0.6231 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.008128, allocations: 19.97 kB / 0.6231 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.008134, allocations: 4 kB / 0.6231 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.008184, allocations: 16.02 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.008191, allocations: 0 / 0.6231 GB, free: 8.352 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.272e-05/0.008253, allocations: 122.8 kB / 0.6232 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.008271, allocations: 7.891 kB / 0.6232 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.008302, allocations: 7.312 kB / 0.6232 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.008305, allocations: 256 / 0.6232 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.00831, allocations: 0 / 0.6232 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.008316, allocations: 11.98 kB / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.008436, allocations: 132.8 kB / 0.6234 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.008438, allocations: 3.938 kB / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.008499, allocations: 23.97 kB / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.0085, allocations: 0 / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.008508, allocations: 0 / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.008509, allocations: 0 / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.008511, allocations: 3.938 kB / 0.6234 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.008781, allocations: 211.5 kB / 0.6236 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.008794, allocations: 19.92 kB / 0.6236 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.008806, allocations: 0 / 0.6236 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.008871, allocations: 19.91 kB / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.00891, allocations: 7.984 kB / 0.6236 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.008914, allocations: 0 / 0.6236 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.008946, allocations: 83.28 kB / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008946, allocations: 0 / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001827/0.009128, allocations: 15.94 kB / 0.6237 GB, free: 7.621 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.000558/0.009686, allocations: 0.7669 MB / 0.6245 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002708/0.009957, allocations: 95.94 kB / 0.6246 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.00996, allocations: 0 / 0.6246 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01006, allocations: 55.88 kB / 0.6246 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.01032, allocations: 0 / 0.6246 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.01085, allocations: 194.5 kB / 0.6248 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.225e-05/0.0109, allocations: 59.34 kB / 0.6249 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.403e-05/0.01095, allocations: 12 kB / 0.6249 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.011, allocations: 16.5 kB / 0.6249 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/0.011, allocations: 0 / 0.6249 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.02867, allocations: 2.376 MB / 0.6272 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.874/6.903, allocations: 13.61 kB / 0.6272 GB, free: 4.113 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.657547221519053] Failed to read output from testmodel.py, exit status != 0: 6.987626492977142 6.995754872 6.988957503 Calling exit ...