Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 230.4 MB / 254.7 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63.89 kB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09615, allocations: 53.38 MB / 427.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002314/0.09846, allocations: 1.39 MB / 428.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005167/0.1036, allocations: 4.056 MB / 432.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.1037, allocations: 0 / 432.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.1037, allocations: 3.984 kB / 432.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009372/0.1046, allocations: 274.9 kB / 432.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.1057, allocations: 0.4939 MB / 433.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.492e-05/0.1058, allocations: 59.72 kB / 433.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.1058, allocations: 3.938 kB / 433.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1059, allocations: 39.84 kB / 433.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006337/0.1065, allocations: 359.3 kB / 433.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1065, allocations: 7.938 kB / 433.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009585/0.1075, allocations: 0.6199 MB / 434.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1075, allocations: 4 kB / 434.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1076, allocations: 27.86 kB / 434.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.1082, allocations: 443 kB / 434.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.1082, allocations: 7.938 kB / 434.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1082, allocations: 4 kB / 434.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1082, allocations: 0 / 434.8 MB, free: 12.85 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005643/0.1088, allocations: 446.4 kB / 435.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1088, allocations: 8.031 kB / 435.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.1088, allocations: 4.188 kB / 435.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.1089, allocations: 30.75 kB / 435.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.1089, allocations: 8.891 kB / 435.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1091, allocations: 184.2 kB / 435.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1091, allocations: 19.88 kB / 435.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1092, allocations: 0 / 435.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1093, allocations: 59.39 kB / 435.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1093, allocations: 3.984 kB / 435.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1093, allocations: 0 / 435.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1093, allocations: 4 kB / 435.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.279e-05/0.1094, allocations: 23.91 kB / 435.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.1096, allocations: 174.5 kB / 435.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1099, allocations: 77.28 kB / 435.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.1099, allocations: 25.7 kB / 435.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.111, allocations: 1.548 MB / 437.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.111, allocations: 34.56 kB / 437.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.111, allocations: 0 / 437.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002875/0.1113, allocations: 81.55 kB / 437.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.1113, allocations: 81.11 kB / 437.6 MB, free: 9.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.711e-05/0.1114, allocations: 109.8 kB / 437.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1115, allocations: 29.64 kB / 437.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.1115, allocations: 88.14 kB / 437.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1115, allocations: 23.78 kB / 437.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.1116, allocations: 29.72 kB / 437.9 MB, free: 9.195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1117, allocations: 314.8 kB / 438.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.1118, allocations: 12 kB / 438.2 MB, free: 8.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.1118, allocations: 39.42 kB / 438.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.112, allocations: 67.28 kB / 438.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.112, allocations: 0 / 438.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001987/0.1122, allocations: 85.92 kB / 438.4 MB, free: 8.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1122, allocations: 4 kB / 438.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1122, allocations: 0 / 438.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1122, allocations: 8.062 kB / 438.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.1123, allocations: 15.98 kB / 438.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1123, allocations: 0 / 438.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.1123, allocations: 8 kB / 438.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1123, allocations: 4.047 kB / 438.4 MB, free: 8.609 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 8.01e-05/0.1124, allocations: 121.6 kB / 438.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.1124, allocations: 11.94 kB / 438.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.1128, allocations: 123.2 kB / 438.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1128, allocations: 7.938 kB / 438.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1128, allocations: 0 / 438.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1128, allocations: 0 / 438.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.113, allocations: 177.6 kB / 438.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.113, allocations: 0 / 438.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.113, allocations: 15.98 kB / 438.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.113, allocations: 0 / 438.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1131, allocations: 4 kB / 438.9 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1131, allocations: 0 / 438.9 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1131, allocations: 4 kB / 438.9 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1133, allocations: 142.2 kB / 439 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.1134, allocations: 89.08 kB / 439.1 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1134, allocations: 0 / 439.1 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/0.1135, allocations: 16.05 kB / 439.1 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.1135, allocations: 4 kB / 439.1 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.1135, allocations: 0 / 439.1 MB, free: 7.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.58e-05/0.1136, allocations: 95.33 kB / 439.2 MB, free: 7.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1136, allocations: 0 / 439.2 MB, free: 7.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004095/0.114, allocations: 135.5 kB / 439.4 MB, free: 7.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009722/0.1149, allocations: 0.8649 MB / 440.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1151, allocations: 47.91 kB / 440.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1151, allocations: 0 / 440.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.235e-05/0.1152, allocations: 27.92 kB / 440.3 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.1154, allocations: 11.98 kB / 440.3 MB, free: 6.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.1171, allocations: 1.507 MB / 441.8 MB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.1174, allocations: 0.6886 MB / 442.5 MB, free: 4.262 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.946e-05/0.1174, allocations: 35.14 kB / 442.5 MB, free: 4.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.1175, allocations: 27.42 kB / 442.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1175, allocations: 0 / 442.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1854/0.3029, allocations: 4.431 MB / 447 MB, free: 24.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.229, allocations: 8.609 kB / 447 MB, free: 24.84 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.58970756502822] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.354660139011685 8.371547593 8.259801585 Calling exit ...