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.0008398/0.0008395, allocations: 94.34 kB / 16.31 MB, free: 5.57 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.0008799/0.0008798, allocations: 176.9 kB / 17.2 MB, free: 5.492 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.345/1.345, allocations: 223.2 MB / 241.2 MB, free: 344 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.0002681, allocations: 4 kB / 300.8 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1347, allocations: 50.42 MB / 351.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001977/0.1368, allocations: 1.064 MB / 352.3 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007854/0.1446, allocations: 3.721 MB / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.1447, allocations: 0 / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.1448, allocations: 3.938 kB / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.146, allocations: 231.2 kB / 356.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.1476, allocations: 377.9 kB / 356.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1477, allocations: 51.66 kB / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.1478, allocations: 4 kB / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1479, allocations: 35.84 kB / 356.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.1491, allocations: 391.5 kB / 357.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1491, allocations: 3.938 kB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.1504, allocations: 403.3 kB / 357.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.1504, allocations: 19.91 kB / 357.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.1505, allocations: 33.7 kB / 357.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006609/0.1512, allocations: 255.8 kB / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1512, allocations: 0 / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1512, allocations: 0 / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.1512, allocations: 0 / 357.8 MB, free: 13.42 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.000668/0.1519, allocations: 443 kB / 358.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.152, allocations: 8.031 kB / 358.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.152, allocations: 7.906 kB / 358.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.1523, allocations: 186.9 kB / 358.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.1524, allocations: 8 kB / 358.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1524, allocations: 0 / 358.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.1526, allocations: 59.39 kB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1527, allocations: 0 / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1527, allocations: 0 / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1527, allocations: 7.953 kB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.1529, allocations: 19.92 kB / 358.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.1532, allocations: 178.5 kB / 358.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.1536, allocations: 77.19 kB / 358.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1537, allocations: 25.7 kB / 358.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.1552, allocations: 1.54 MB / 360.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1552, allocations: 30.56 kB / 360.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1552, allocations: 0 / 360.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000416/0.1557, allocations: 81.59 kB / 360.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.1557, allocations: 85.05 kB / 360.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1559, allocations: 113.8 kB / 360.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1559, allocations: 29.7 kB / 360.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.156, allocations: 92.12 kB / 360.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.156, allocations: 15.66 kB / 360.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.1561, allocations: 4 kB / 360.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1562, allocations: 322.8 kB / 361.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/0.1563, allocations: 15.98 kB / 361.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1564, allocations: 35.42 kB / 361.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1566, allocations: 28.3 kB / 361.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1566, allocations: 0 / 361.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003145/0.1569, allocations: 85.5 kB / 361.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1569, allocations: 4 kB / 361.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.157, allocations: 4 kB / 361.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.157, allocations: 7.938 kB / 361.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1571, allocations: 16.05 kB / 361.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1571, allocations: 4 kB / 361.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.1572, allocations: 7.953 kB / 361.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1573, allocations: 8 kB / 361.3 MB, free: 9.305 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.839e-05/0.1574, allocations: 109.8 kB / 361.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.1574, allocations: 7.906 kB / 361.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005687/0.158, allocations: 124.8 kB / 361.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.158, allocations: 4 kB / 361.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.1581, allocations: 3.984 kB / 361.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1581, allocations: 0 / 361.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.1583, allocations: 173.6 kB / 361.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.1583, allocations: 3.984 kB / 361.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1585, allocations: 8 kB / 361.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.1585, allocations: 4 kB / 361.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1585, allocations: 3.938 kB / 361.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1585, allocations: 4 kB / 361.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1585, allocations: 0 / 361.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.159, allocations: 145.8 kB / 361.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/0.1591, allocations: 93.03 kB / 362 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.1592, allocations: 4 kB / 362 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.1593, allocations: 7.984 kB / 362 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.1593, allocations: 4.062 kB / 362 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1594, allocations: 4 kB / 362 MB, free: 8.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.258e-05/0.1594, allocations: 91.27 kB / 362.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.256e-06/0.1595, allocations: 0 / 362.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007121/0.1602, allocations: 135.8 kB / 362.2 MB, free: 8.289 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008815/0.1611, allocations: 278.3 kB / 362.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.1614, allocations: 51.91 kB / 362.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1614, allocations: 3.938 kB / 362.5 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1616, allocations: 27.97 kB / 362.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1619, allocations: 20.17 kB / 362.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007959/0.1628, allocations: 357.9 kB / 362.9 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1632, allocations: 0.6887 MB / 363.6 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.1633, allocations: 37.91 kB / 363.7 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.1634, allocations: 19.42 kB / 363.7 MB, free: 6.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1634, allocations: 0 / 363.7 MB, free: 6.77 MB / 302.1 MB Notification: Performance of Templates: time 0.008955/0.1724, allocations: 2.89 MB / 366.6 MB, free: 3.898 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)