Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 191.5 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_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_0_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.001395/0.001395, allocations: 47.92 kB / 371.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2141, allocations: 52.18 MB / 423.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00234/0.2164, allocations: 1.342 MB / 424.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.2214, allocations: 3.669 MB / 428.4 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.2214, allocations: 0 / 428.4 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.2214, allocations: 7.922 kB / 428.4 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009314/0.2223, allocations: 302.9 kB / 428.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2234, allocations: 0.5054 MB / 429.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.537e-05/0.2235, allocations: 51.72 kB / 429.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.2235, allocations: 4 kB / 429.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.2236, allocations: 51.84 kB / 429.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006859/0.2243, allocations: 363.3 kB / 429.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.2243, allocations: 0 / 429.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008688/0.2252, allocations: 0.5498 MB / 430.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.2252, allocations: 11.88 kB / 430.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.2252, allocations: 27.84 kB / 430.2 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.2259, allocations: 429.2 kB / 430.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2259, allocations: 0 / 430.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2259, allocations: 0 / 430.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2259, allocations: 4 kB / 430.6 MB, free: 7.102 MB / 334.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.0004999/0.2264, allocations: 369.3 kB / 431 MB, free: 6.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2264, allocations: 12.02 kB / 431 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.879e-05/0.2265, allocations: 4.188 kB / 431 MB, free: 6.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.2265, allocations: 34.75 kB / 431 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.2265, allocations: 8.891 kB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.2267, allocations: 138.4 kB / 431.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2267, allocations: 3.938 kB / 431.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.2267, allocations: 7.953 kB / 431.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2269, allocations: 59.39 kB / 431.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2269, allocations: 0 / 431.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2269, allocations: 4 kB / 431.3 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2269, allocations: 0 / 431.3 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.227, allocations: 19.92 kB / 431.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.2272, allocations: 145.6 kB / 431.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.2274, allocations: 77.25 kB / 431.5 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/0.2275, allocations: 25.7 kB / 431.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/0.2279, allocations: 123.8 kB / 431.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.2279, allocations: 34.56 kB / 431.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2279, allocations: 0 / 431.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002805/0.2282, allocations: 81.59 kB / 431.8 MB, free: 5.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.2282, allocations: 81.11 kB / 431.8 MB, free: 5.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.2283, allocations: 113.8 kB / 432 MB, free: 5.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2284, allocations: 25.7 kB / 432 MB, free: 5.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.2284, allocations: 88.14 kB / 432.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.2284, allocations: 27.75 kB / 432.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.2285, allocations: 21.7 kB / 432.1 MB, free: 5.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2286, allocations: 318.8 kB / 432.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.2287, allocations: 15.98 kB / 432.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.2288, allocations: 35.42 kB / 432.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.2289, allocations: 67.67 kB / 432.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2289, allocations: 4 kB / 432.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001926/0.2291, allocations: 89.52 kB / 432.6 MB, free: 4.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2291, allocations: 6.5 kB / 432.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2291, allocations: 0 / 432.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2291, allocations: 4 kB / 432.6 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.2292, allocations: 15.94 kB / 432.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2292, allocations: 3.984 kB / 432.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.2293, allocations: 16.02 kB / 432.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2293, allocations: 4 kB / 432.7 MB, free: 4.816 MB / 334.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.761e-05/0.2294, allocations: 113.8 kB / 432.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.2294, allocations: 4 kB / 432.8 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.2297, allocations: 117.5 kB / 432.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2297, allocations: 0 / 432.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2297, allocations: 4 kB / 432.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2297, allocations: 7.984 kB / 432.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.2299, allocations: 152.6 kB / 433.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2299, allocations: 0 / 433.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.23, allocations: 8 kB / 433.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.23, allocations: 7.984 kB / 433.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.23, allocations: 0 / 433.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.23, allocations: 0 / 433.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.23, allocations: 0 / 433.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.2303, allocations: 149.8 kB / 433.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.2303, allocations: 12.08 kB / 433.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2303, allocations: 4 kB / 433.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.2304, allocations: 4 kB / 433.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.2304, allocations: 3.984 kB / 433.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.2304, allocations: 4 kB / 433.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.259e-05/0.2305, allocations: 91.27 kB / 433.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2305, allocations: 0 / 433.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.2308, allocations: 135.5 kB / 433.5 MB, free: 3.934 MB / 334.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.001099/0.2319, allocations: 0.8843 MB / 434.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.2321, allocations: 47.98 kB / 434.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2321, allocations: 0 / 434.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.2322, allocations: 23.98 kB / 434.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.2324, allocations: 15.97 kB / 434.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.2341, allocations: 1.519 MB / 436 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.762e-05/0.2342, allocations: 71.33 kB / 436 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.318e-05/0.2343, allocations: 31.66 kB / 436.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.2343, allocations: 23.42 kB / 436.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2343, allocations: 0 / 436.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.2607, allocations: 4.621 MB / 440.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.04, allocations: 16.23 kB / 440.7 MB, free: 12.72 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.338104498921894] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 11.200217284960672 11.215296939 10.986391243 Calling exit ...