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.0009114/0.0009114, 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.0008655/0.0008655, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.801 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.8121/0.8121, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.0009108/0.0009108, allocations: 62.97 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.5263, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001979/0.5283, allocations: 1.466 MB / 0.8193 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.5293, allocations: 0.8651 MB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.5293, allocations: 0 / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.5294, allocations: 4.594 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.158e-05/0.5294, allocations: 0 / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.5298, allocations: 131 kB / 0.8203 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.325e-05/0.5299, allocations: 33.69 kB / 0.8203 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.53, allocations: 8.844 kB / 0.8203 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.53, allocations: 11.47 kB / 0.8203 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.5301, allocations: 23.36 kB / 0.8203 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.5301, allocations: 7.656 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000365/0.5304, allocations: 319.4 kB / 0.8207 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.5305, allocations: 9.578 kB / 0.8207 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.5305, allocations: 10.61 kB / 0.8207 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.5308, allocations: 197.9 kB / 0.8209 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5308, allocations: 0 / 0.8209 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5308, allocations: 3.938 kB / 0.8209 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.5308, 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.0004463/0.5312, allocations: 297.8 kB / 0.8211 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5313, allocations: 11.38 kB / 0.8212 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.5313, allocations: 30.75 kB / 0.8212 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.5316, allocations: 77.42 kB / 0.8213 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.5317, allocations: 110.4 kB / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.5317, allocations: 384 / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.5317, allocations: 3.719 kB / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.5319, allocations: 85.47 kB / 0.8215 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5319, allocations: 1.281 kB / 0.8215 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.5319, allocations: 0 / 0.8215 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.5319, allocations: 0 / 0.8215 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.5321, allocations: 96.28 kB / 0.8215 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.5325, allocations: 273.9 kB / 0.8218 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.5327, allocations: 91.2 kB / 0.8219 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.5328, allocations: 53.19 kB / 0.8219 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.5329, allocations: 0 / 0.8219 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.5329, allocations: 35.59 kB / 0.822 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.5329, allocations: 4 kB / 0.822 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003959/0.5333, allocations: 170.3 kB / 0.8221 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.5333, allocations: 51.41 kB / 0.8222 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.05e-05/0.5334, allocations: 101 kB / 0.8223 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.5334, allocations: 26.67 kB / 0.8223 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.5334, allocations: 90.36 kB / 0.8224 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.5334, allocations: 7.891 kB / 0.8224 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.5335, allocations: 15.84 kB / 0.8224 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.5335, allocations: 320.7 kB / 0.8227 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.5336, allocations: 46.47 kB / 0.8228 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.753e-05/0.5337, allocations: 41.69 kB / 0.8228 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.5339, allocations: 93.02 kB / 0.8229 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5339, allocations: 1.094 kB / 0.8229 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002376/0.5342, allocations: 124 kB / 0.823 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5342, allocations: 8 kB / 0.823 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5342, allocations: 0 / 0.823 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5342, allocations: 1.375 kB / 0.823 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.5343, allocations: 20.28 kB / 0.8231 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5343, allocations: 4.969 kB / 0.8231 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.5344, allocations: 12.36 kB / 0.8231 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.5344, allocations: 7.828 kB / 0.8231 GB, free: 13.74 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.073e-05/0.5344, allocations: 112.5 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.5345, allocations: 3.953 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.5345, allocations: 13.73 kB / 0.8232 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5345, allocations: 4 kB / 0.8232 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5345, allocations: 2.766 kB / 0.8232 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5345, allocations: 0 / 0.8232 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.5346, allocations: 142.6 kB / 0.8233 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5346, allocations: 1.531 kB / 0.8233 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.5347, allocations: 27.78 kB / 0.8234 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5347, allocations: 6.016 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.5347, allocations: 4.734 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.5347, allocations: 0 / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5347, allocations: 1.125 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.535, allocations: 218.2 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.535, allocations: 5.781 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.535, allocations: 1.672 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.5351, allocations: 16.42 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.5351, allocations: 4.234 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.5351, allocations: 1.625 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.281e-05/0.5351, allocations: 85.12 kB / 0.8237 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5351, allocations: 0 / 0.8237 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001771/0.5353, allocations: 14.75 kB / 0.8237 GB, free: 13.2 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.0005301/0.5359, allocations: 0.7628 MB / 0.8245 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.5361, allocations: 97.03 kB / 0.8246 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5361, allocations: 1.625 kB / 0.8246 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.5362, allocations: 50.56 kB / 0.8246 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.5365, allocations: 17.69 kB / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.537, allocations: 197.6 kB / 0.8248 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.5372, allocations: 0.6777 MB / 0.8255 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.556e-05/0.5373, allocations: 7.969 kB / 0.8255 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.5373, allocations: 14.02 kB / 0.8255 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.5373, allocations: 0 / 0.8255 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.5538, allocations: 1.786 MB / 0.8272 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.371/6.925, allocations: 2.969 kB / 0.8272 GB, free: 11.16 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 & /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.971289915964007] Failed to read output from testmodel.py, exit status != 0: 7.007888933876529 7.025389825 6.491825919 Calling exit ...