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.001367/0.001367, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001017/0.001017, allocations: 221.7 kB / 22.26 MB, free: 3.695 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.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.809 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.8211/0.8211, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.0009443/0.0009443, allocations: 62.66 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.5384, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001806/0.5402, allocations: 1.468 MB / 0.8193 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008727/0.5411, allocations: 0.8608 MB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.5411, allocations: 0 / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.5412, allocations: 3.938 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.5412, allocations: 4.641 kB / 0.8201 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.5416, allocations: 136.3 kB / 0.8203 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.309e-05/0.5417, allocations: 31.69 kB / 0.8203 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.5418, allocations: 6.703 kB / 0.8203 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.668e-05/0.5419, allocations: 15.25 kB / 0.8203 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.5419, allocations: 20.08 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.5419, allocations: 2.719 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.5424, allocations: 325.2 kB / 0.8207 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.5424, allocations: 6.766 kB / 0.8207 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.5424, allocations: 13.75 kB / 0.8207 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.5427, allocations: 200.7 kB / 0.8209 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.413e-06/0.5427, allocations: 0 / 0.8209 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.5427, allocations: 0 / 0.8209 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.5428, allocations: 0 / 0.8209 GB, free: 15.4 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.0005144/0.5433, allocations: 299.2 kB / 0.8212 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.5433, allocations: 10.31 kB / 0.8212 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.5434, allocations: 35.5 kB / 0.8212 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.5437, allocations: 71.56 kB / 0.8213 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.738e-05/0.5438, allocations: 111.8 kB / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.5438, allocations: 4.375 kB / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.5438, allocations: 384 / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.544, allocations: 86.38 kB / 0.8215 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.544, allocations: 0 / 0.8215 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.5441, allocations: 0 / 0.8215 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.5441, allocations: 2.922 kB / 0.8215 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.5443, allocations: 95.72 kB / 0.8216 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.5447, allocations: 268.5 kB / 0.8218 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.5449, allocations: 90.91 kB / 0.8219 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.545, allocations: 59.98 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.545, allocations: 0 / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.545, allocations: 31.31 kB / 0.822 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.545, allocations: 0 / 0.822 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004302/0.5455, allocations: 173.8 kB / 0.8221 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.5455, allocations: 57.14 kB / 0.8222 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.77e-05/0.5456, allocations: 102.7 kB / 0.8223 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.5456, allocations: 25.7 kB / 0.8223 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.5456, allocations: 85.52 kB / 0.8224 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.5456, allocations: 9.094 kB / 0.8224 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.5457, allocations: 22.36 kB / 0.8224 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.5458, allocations: 318.8 kB / 0.8227 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.5459, allocations: 40.81 kB / 0.8228 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/0.546, allocations: 45.33 kB / 0.8228 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.5462, allocations: 89.53 kB / 0.8229 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5462, allocations: 0 / 0.8229 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002557/0.5464, allocations: 127.5 kB / 0.823 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.5464, allocations: 8.656 kB / 0.823 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5464, allocations: 0 / 0.823 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5465, allocations: 0 / 0.823 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.5466, allocations: 25.97 kB / 0.8231 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5466, allocations: 0 / 0.8231 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.5466, allocations: 16.84 kB / 0.8231 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.5466, allocations: 5.062 kB / 0.8231 GB, free: 13.73 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 6.915e-05/0.5467, allocations: 112.5 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.5467, allocations: 9.891 kB / 0.8232 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.483e-05/0.5468, allocations: 13 kB / 0.8232 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5468, allocations: 1.125 kB / 0.8232 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.5468, allocations: 4.734 kB / 0.8232 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5468, allocations: 0 / 0.8232 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.5469, allocations: 143.7 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5469, allocations: 0.6094 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.547, allocations: 22.16 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.547, allocations: 0 / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.547, allocations: 13.31 kB / 0.8234 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.547, allocations: 5.297 kB / 0.8234 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.547, allocations: 1.25 kB / 0.8234 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.5473, allocations: 217.3 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.5473, allocations: 1.734 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.5473, allocations: 1.875 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.5474, allocations: 20.42 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.5474, allocations: 3.031 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.5474, allocations: 2.656 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.5474, allocations: 88.23 kB / 0.8237 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5474, allocations: 0 / 0.8237 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001674/0.5476, allocations: 15.8 kB / 0.8237 GB, free: 13.18 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.0005422/0.5482, allocations: 0.7628 MB / 0.8245 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.5484, allocations: 96.8 kB / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5484, allocations: 0 / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.5486, allocations: 44.94 kB / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.5488, allocations: 11.47 kB / 0.8246 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.5493, allocations: 202.8 kB / 0.8248 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.5495, allocations: 0.6772 MB / 0.8255 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.875e-05/0.5495, allocations: 7.375 kB / 0.8255 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.5496, allocations: 10.58 kB / 0.8255 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.5496, allocations: 0 / 0.8255 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.566, allocations: 1.791 MB / 0.8272 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.411/6.977, allocations: 2.688 kB / 0.8272 GB, free: 11.14 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.178702968172729] Failed to read output from testmodel.py, exit status != 0: 7.061434306902811 7.073308981 6.52816159 Calling exit ...