Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.001476/0.001476, allocations: 120.1 kB / 18.49 MB, free: 4.586 MB / 14.72 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.001595/0.001595, allocations: 215 kB / 21.45 MB, free: 1.641 MB / 14.72 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.382/1.382, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 43.94 kB / 373.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.08878, allocations: 53.33 MB / 427 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00232/0.0911, allocations: 1.387 MB / 428.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005232/0.09633, allocations: 4.06 MB / 432.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.09636, allocations: 0 / 432.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.09639, allocations: 3.984 kB / 432.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009092/0.0973, allocations: 274.9 kB / 432.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.09835, allocations: 0.4939 MB / 433.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.836e-05/0.09845, allocations: 59.72 kB / 433.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.422e-05/0.09848, allocations: 3.938 kB / 433.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.09858, allocations: 39.84 kB / 433.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/0.09923, allocations: 363.2 kB / 433.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.09925, allocations: 4 kB / 433.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009772/0.1002, allocations: 0.6199 MB / 434.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.1002, allocations: 8 kB / 434.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.1003, allocations: 27.84 kB / 434.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.101, allocations: 446.9 kB / 434.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.101, allocations: 0 / 434.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.101, allocations: 4 kB / 434.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.101, allocations: 0 / 434.8 MB, free: 13.04 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.0005788/0.1016, allocations: 446.4 kB / 435.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1016, allocations: 12.03 kB / 435.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.233e-05/0.1016, allocations: 192 / 435.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.1016, allocations: 30.75 kB / 435.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.1017, allocations: 12.83 kB / 435.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.1019, allocations: 192.2 kB / 435.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1019, allocations: 15.88 kB / 435.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.102, allocations: 4 kB / 435.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1021, allocations: 55.39 kB / 435.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1021, allocations: 4 kB / 435.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.1021, allocations: 0 / 435.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1021, allocations: 0 / 435.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/0.1022, allocations: 27.91 kB / 435.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.1024, allocations: 174.6 kB / 435.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.1027, allocations: 77.12 kB / 435.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.595e-05/0.1028, allocations: 21.77 kB / 435.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.1039, allocations: 1.536 MB / 437.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1039, allocations: 42.55 kB / 437.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1039, allocations: 0 / 437.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002875/0.1042, allocations: 85.86 kB / 437.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.1043, allocations: 81.11 kB / 437.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.338e-05/0.1043, allocations: 109.8 kB / 437.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1044, allocations: 25.7 kB / 437.7 MB, free: 9.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.1044, allocations: 92.14 kB / 437.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1044, allocations: 23.77 kB / 437.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.1045, allocations: 29.72 kB / 437.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1046, allocations: 314.8 kB / 438.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.794e-05/0.1047, allocations: 12 kB / 438.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.1048, allocations: 39.42 kB / 438.2 MB, free: 8.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1049, allocations: 63.3 kB / 438.3 MB, free: 8.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1049, allocations: 0 / 438.3 MB, free: 8.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001961/0.1051, allocations: 89.48 kB / 438.3 MB, free: 8.828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1051, allocations: 4 kB / 438.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1051, allocations: 4 kB / 438.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1051, allocations: 4.062 kB / 438.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.1052, allocations: 15.98 kB / 438.4 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1052, allocations: 4 kB / 438.4 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.1052, allocations: 4 kB / 438.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1053, allocations: 4 kB / 438.4 MB, free: 8.789 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.872e-05/0.1053, allocations: 121.7 kB / 438.5 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.1054, allocations: 7.891 kB / 438.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.1057, allocations: 128.6 kB / 438.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1057, allocations: 0 / 438.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1057, allocations: 4 kB / 438.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1057, allocations: 0 / 438.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.1059, allocations: 173.6 kB / 438.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1059, allocations: 0 / 438.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/0.106, allocations: 12 kB / 438.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.106, allocations: 3.938 kB / 438.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.106, allocations: 11.98 kB / 438.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.106, allocations: 0 / 438.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.106, allocations: 0 / 438.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.1063, allocations: 150.2 kB / 439 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.1064, allocations: 85.05 kB / 439.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1064, allocations: 4.031 kB / 439.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.186e-05/0.1064, allocations: 8.062 kB / 439.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.1065, allocations: 8.219 kB / 439.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.1065, allocations: 4 kB / 439.1 MB, free: 7.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.796e-05/0.1065, allocations: 95.33 kB / 439.2 MB, free: 7.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1065, allocations: 0 / 439.2 MB, free: 7.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004139/0.1069, allocations: 131.5 kB / 439.3 MB, free: 7.75 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.0009994/0.1079, allocations: 0.8592 MB / 440.2 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1081, allocations: 43.91 kB / 440.2 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1081, allocations: 0 / 440.2 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.1082, allocations: 27.92 kB / 440.2 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.1084, allocations: 18.02 kB / 440.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1101, allocations: 1.513 MB / 441.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1104, allocations: 0.6885 MB / 442.5 MB, free: 4.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.1105, allocations: 31.41 kB / 442.5 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.1105, allocations: 27.42 kB / 442.5 MB, free: 4.387 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1105, allocations: 0 / 442.5 MB, free: 4.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.1338, allocations: 4.436 MB / 447 MB, free: 140 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/7.975, allocations: 7.922 kB / 447 MB, free: 132 kB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.463762385013979] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.269578248029575 8.279610709 8.176377793 Calling exit ...