Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.0007446/0.0007446, 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.000855/0.000855, 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 0.9392/0.9392, allocations: 230.6 MB / 256 MB, free: 9.613 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.7904/0.7904, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.0008918/0.0008918, allocations: 67.38 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5176, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001299/0.5189, allocations: 0.6382 MB / 0.8185 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.5202, allocations: 1.436 MB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.5202, allocations: 1.188 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.5202, allocations: 3.938 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-05/0.5203, allocations: 3.688 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.5206, allocations: 125.8 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.953e-05/0.5207, allocations: 29.77 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.5207, allocations: 3.719 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.5208, allocations: 16.08 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.5209, allocations: 19.02 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.5209, allocations: 1.656 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.5211, allocations: 245.4 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.5212, allocations: 9.859 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.5212, allocations: 13.56 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.5214, allocations: 180 kB / 0.8205 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5214, allocations: 2.812 kB / 0.8205 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5214, allocations: 4 kB / 0.8205 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.5214, allocations: 0 / 0.8205 GB, free: 15.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004071/0.5218, allocations: 304.5 kB / 0.8208 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5219, allocations: 8.5 kB / 0.8208 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.5219, allocations: 37.02 kB / 0.8208 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.5221, allocations: 65.59 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.999e-05/0.5222, allocations: 110.9 kB / 0.821 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.5222, allocations: 6.266 kB / 0.821 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.5223, allocations: 1.312 kB / 0.821 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.5224, allocations: 83.98 kB / 0.8211 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5225, allocations: 0 / 0.8211 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.5225, allocations: 0.5156 kB / 0.8211 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5225, allocations: 0 / 0.8211 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.5227, allocations: 70.88 kB / 0.8212 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.5228, allocations: 147.1 kB / 0.8213 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.5231, allocations: 126.2 kB / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.5232, allocations: 46.52 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.5232, allocations: 0 / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5232, allocations: 43.05 kB / 0.8215 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.5232, allocations: 1.188 kB / 0.8215 GB, free: 14.61 MB / 0.6198 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.002153/0.5254, allocations: 0.7802 MB / 0.8223 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.5254, allocations: 58.28 kB / 0.8223 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.5255, allocations: 113.7 kB / 0.8224 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.5255, allocations: 30.22 kB / 0.8225 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.5256, allocations: 82.8 kB / 0.8225 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.5256, allocations: 30.53 kB / 0.8226 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.5257, allocations: 29.42 kB / 0.8226 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.5257, allocations: 315.5 kB / 0.8229 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.526, allocations: 95.16 kB / 0.823 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.5262, allocations: 100.2 kB / 0.8231 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.5266, allocations: 189 kB / 0.8233 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5266, allocations: 5.125 kB / 0.8233 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004751/0.5271, allocations: 252.1 kB / 0.8235 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5271, allocations: 5.172 kB / 0.8235 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5271, allocations: 1.344 kB / 0.8235 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5271, allocations: 0.5156 kB / 0.8235 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.5273, allocations: 53.95 kB / 0.8236 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5273, allocations: 6.047 kB / 0.8236 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.5274, allocations: 32.38 kB / 0.8236 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.5274, allocations: 4.609 kB / 0.8236 GB, free: 13.68 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 (9): * Single equations (assignments): 9 * 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.374e-05/0.5274, allocations: 118.2 kB / 0.8237 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.5275, allocations: 10.3 kB / 0.8237 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.5275, allocations: 10.78 kB / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.5275, allocations: 1.766 kB / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5275, allocations: 1.406 kB / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5275, allocations: 0.5625 kB / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009801/0.5285, allocations: 0.5571 MB / 0.8243 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5285, allocations: 4.688 kB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.5286, allocations: 55.2 kB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5286, allocations: 1.312 kB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5286, allocations: 8.266 kB / 0.8244 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5286, allocations: 1.859 kB / 0.8244 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5287, allocations: 9.312 kB / 0.8244 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.5292, allocations: 344 kB / 0.8247 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.5292, allocations: 8.344 kB / 0.8247 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.5292, allocations: 2.172 kB / 0.8247 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.5293, allocations: 36.34 kB / 0.8247 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.5293, allocations: 19.38 kB / 0.8248 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.5294, allocations: 6.109 kB / 0.8248 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.5294, allocations: 89.33 kB / 0.8248 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5294, allocations: 0 / 0.8248 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002305/0.5296, allocations: 40.2 kB / 0.8249 GB, free: 12.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0007391/0.5304, allocations: 0.8977 MB / 0.8258 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.5309, allocations: 213.1 kB / 0.826 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5309, allocations: 1.094 kB / 0.826 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.5311, allocations: 103.5 kB / 0.8261 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.5312, allocations: 7.422 kB / 0.8261 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.5338, allocations: 2.129 MB / 0.8282 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.5339, allocations: 72.84 kB / 0.8282 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.449e-05/0.534, allocations: 28.55 kB / 0.8282 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.534, allocations: 27.16 kB / 0.8283 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.534, allocations: 0 / 0.8283 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.5524, allocations: 3.374 MB / 0.8316 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/7.318, allocations: 5.359 kB / 0.8316 GB, free: 9.656 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.200585282873362] Failed to read output from testmodel.py, exit status != 0: 7.396549463272095 7.410545606 6.886981942 Calling exit ...