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.001196/0.001196, allocations: 108.8 kB / 21.22 MB, free: 0.7305 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.00128/0.00128, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.318/1.318, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.00147/0.00147, allocations: 55.91 kB / 371.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2305, allocations: 52.19 MB / 423.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00247/0.2329, allocations: 1.374 MB / 424.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005443/0.2384, allocations: 4.039 MB / 428.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.2384, allocations: 4 kB / 428.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.2384, allocations: 3.984 kB / 428.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.2395, allocations: 294.9 kB / 429.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.2408, allocations: 0.5086 MB / 429.6 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2409, allocations: 55.7 kB / 429.7 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.2409, allocations: 4 kB / 429.7 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.241, allocations: 47.84 kB / 429.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007306/0.2418, allocations: 359.3 kB / 430.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.2418, allocations: 3.938 kB / 430.1 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.2428, allocations: 0.6434 MB / 430.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.2429, allocations: 7.969 kB / 430.7 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.2429, allocations: 19.88 kB / 430.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.2436, allocations: 451.9 kB / 431.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2436, allocations: 0 / 431.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2436, allocations: 3.938 kB / 431.2 MB, free: 6.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2436, allocations: 4 kB / 431.2 MB, free: 6.738 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.00053/0.2441, allocations: 369.3 kB / 431.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2441, allocations: 12.03 kB / 431.6 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.328e-05/0.2442, allocations: 4.188 kB / 431.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.2442, allocations: 30.75 kB / 431.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.2442, allocations: 12.89 kB / 431.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.2444, allocations: 126.5 kB / 431.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.2444, allocations: 3.938 kB / 431.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.2445, allocations: 15.94 kB / 431.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.2446, allocations: 71.27 kB / 431.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2446, allocations: 0 / 431.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.2446, allocations: 0 / 431.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2446, allocations: 0 / 431.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.2447, allocations: 15.98 kB / 431.9 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.2449, allocations: 149.6 kB / 432 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.2452, allocations: 77.12 kB / 432.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.2452, allocations: 25.77 kB / 432.1 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/0.2456, allocations: 123.9 kB / 432.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.2456, allocations: 42.5 kB / 432.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2456, allocations: 0 / 432.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002888/0.2459, allocations: 81.59 kB / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.246, allocations: 81.05 kB / 432.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2461, allocations: 113.8 kB / 432.5 MB, free: 5.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2461, allocations: 25.7 kB / 432.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.2461, allocations: 88.14 kB / 432.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.2462, allocations: 27.75 kB / 432.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.2462, allocations: 25.7 kB / 432.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2464, allocations: 310.8 kB / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-05/0.2464, allocations: 15.98 kB / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.2465, allocations: 39.42 kB / 433.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.2466, allocations: 63.3 kB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2466, allocations: 0 / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002006/0.2468, allocations: 86.06 kB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2468, allocations: 4 kB / 433.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2469, allocations: 4 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2469, allocations: 3.984 kB / 433.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.2469, allocations: 20 kB / 433.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2469, allocations: 3.984 kB / 433.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.247, allocations: 7.953 kB / 433.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.247, allocations: 4 kB / 433.2 MB, free: 4.453 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 9.204e-05/0.2471, allocations: 113.8 kB / 433.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.2471, allocations: 4 kB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.2475, allocations: 124.6 kB / 433.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2475, allocations: 0 / 433.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2475, allocations: 8 kB / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2475, allocations: 7.922 kB / 433.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.2476, allocations: 148.6 kB / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2476, allocations: 0 / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.623e-05/0.2477, allocations: 11.98 kB / 433.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2477, allocations: 4 kB / 433.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2477, allocations: 4 kB / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2477, allocations: 4 kB / 433.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2477, allocations: 0 / 433.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.248, allocations: 153.8 kB / 433.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.248, allocations: 12.02 kB / 433.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2481, allocations: 0 / 433.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.2481, allocations: 0 / 433.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.2481, allocations: 12.05 kB / 433.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.2482, allocations: 4 kB / 433.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.2482, allocations: 91.81 kB / 433.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2482, allocations: 0 / 433.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003973/0.2486, allocations: 135.5 kB / 434.1 MB, free: 3.555 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.001101/0.2497, allocations: 0.876 MB / 434.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.2499, allocations: 47.91 kB / 435 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2499, allocations: 0 / 435 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.948e-05/0.25, allocations: 23.98 kB / 435 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.2502, allocations: 13.81 kB / 435 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.2519, allocations: 1.519 MB / 436.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.2522, allocations: 0.6846 MB / 437.2 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.472e-05/0.2523, allocations: 35.72 kB / 437.3 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.2523, allocations: 23.42 kB / 437.3 MB, free: 188 kB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2523, allocations: 0 / 437.3 MB, free: 188 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.2794, allocations: 4.558 MB / 441.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.74, allocations: 10.38 kB / 441.9 MB, free: 11.79 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.049460182024632] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 10.909635690040886 10.931747894 10.684125774 Calling exit ...