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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 108.3 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009997/0.0009998, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009474/0.0009476, allocations: 43.81 kB / 299.9 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08046/0.08142, allocations: 49.44 MB / 349.4 MB, free: 4.641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002533/0.08398, allocations: 1.426 MB / 350.8 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005176/0.08919, allocations: 4.05 MB / 354.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.08926, allocations: 4 kB / 354.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.0893, allocations: 11.92 kB / 354.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009832/0.09032, allocations: 235.2 kB / 355.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.09143, allocations: 441.2 kB / 355.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.09155, allocations: 59.67 kB / 355.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.09159, allocations: 0 / 355.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.09172, allocations: 39.84 kB / 355.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007636/0.09249, allocations: 403.1 kB / 356 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.09252, allocations: 4 kB / 356 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009266/0.09345, allocations: 0.5575 MB / 356.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.09348, allocations: 7.984 kB / 356.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.09352, allocations: 19.88 kB / 356.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008138/0.09434, allocations: 455.4 kB / 357.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09436, allocations: 0 / 357.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.09436, allocations: 0 / 357.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.09438, allocations: 4 kB / 357.1 MB, free: 12.92 MB / 302.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.0005873/0.09497, allocations: 447.1 kB / 357.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.09501, allocations: 12.03 kB / 357.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.09506, allocations: 0.9375 kB / 357.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.0953, allocations: 188.2 kB / 357.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.09532, allocations: 4.375 kB / 357.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.09536, allocations: 7.938 kB / 357.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.09553, allocations: 67.33 kB / 357.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.09555, allocations: 3.984 kB / 357.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.09557, allocations: 0 / 357.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.09558, allocations: 0 / 357.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.448e-05/0.09568, allocations: 19.98 kB / 357.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.09586, allocations: 170.6 kB / 358 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.09614, allocations: 85.06 kB / 358.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.09622, allocations: 25.77 kB / 358.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009702/0.0972, allocations: 1.536 MB / 359.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.09723, allocations: 30.56 kB / 359.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.09724, allocations: 4 kB / 359.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002827/0.09753, allocations: 85.5 kB / 359.7 MB, free: 9.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.09758, allocations: 77.11 kB / 359.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.09767, allocations: 117.8 kB / 359.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.09771, allocations: 25.7 kB / 359.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.09776, allocations: 92.06 kB / 360 MB, free: 9.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.0978, allocations: 23.64 kB / 360.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.09784, allocations: 29.7 kB / 360.1 MB, free: 9.312 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.09795, allocations: 314.8 kB / 360.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.726e-05/0.09802, allocations: 11.98 kB / 360.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.0981, allocations: 39.42 kB / 360.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.09823, allocations: 63.36 kB / 360.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.09824, allocations: 0 / 360.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001951/0.09844, allocations: 81.97 kB / 360.6 MB, free: 8.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.09846, allocations: 7.984 kB / 360.6 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.09848, allocations: 4 kB / 360.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.0985, allocations: 3.938 kB / 360.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.09857, allocations: 15.94 kB / 360.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.09859, allocations: 480 / 360.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.09864, allocations: 15.95 kB / 360.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.09866, allocations: 4.047 kB / 360.6 MB, free: 8.723 MB / 302.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 7.058e-05/0.09874, allocations: 117.8 kB / 360.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.09877, allocations: 3.984 kB / 360.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.09912, allocations: 128.8 kB / 360.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.09914, allocations: 0 / 360.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.09915, allocations: 0 / 360.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.09916, allocations: 3.984 kB / 360.9 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.0993, allocations: 177.5 kB / 361.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.09931, allocations: 0 / 361.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.2e-05/0.0994, allocations: 19.92 kB / 361.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.09941, allocations: 0 / 361.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.09943, allocations: 4 kB / 361.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.09943, allocations: 0 / 361.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.09944, allocations: 0 / 361.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.09974, allocations: 153.8 kB / 361.2 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.0998, allocations: 85.09 kB / 361.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.09983, allocations: 4 kB / 361.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.073e-05/0.09987, allocations: 3.938 kB / 361.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.09992, allocations: 11.98 kB / 361.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.09993, allocations: 4.062 kB / 361.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.658e-05/0.09998, allocations: 91.27 kB / 361.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09999, allocations: 4 kB / 361.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.1004, allocations: 123.9 kB / 361.6 MB, free: 7.703 MB / 302.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.0006147/0.101, allocations: 296 kB / 361.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1012, allocations: 51.91 kB / 361.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1013, allocations: 128 / 361.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.1014, allocations: 27.98 kB / 361.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.1016, allocations: 23.8 kB / 361.9 MB, free: 7.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.1021, allocations: 300.5 kB / 362.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1023, allocations: 0.6925 MB / 362.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.867e-05/0.1024, allocations: 27.59 kB / 363 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.1025, allocations: 19.42 kB / 363 MB, free: 6.227 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1025, allocations: 0 / 363 MB, free: 6.227 MB / 302.1 MB Notification: Performance of Templates: time 0.005885/0.1084, allocations: 2.945 MB / 365.9 MB, free: 3.305 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (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 & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)