Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.001556, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 98.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004078, allocations: 16 kB / 327.1 MB, free: 15.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1033, allocations: 47.58 MB / 374.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001854/0.1052, allocations: 1.047 MB / 375.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.1159, allocations: 5.513 MB / 381.2 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.1161, allocations: 4 kB / 381.2 MB, free: 8.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.1161, allocations: 7.984 kB / 381.2 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.1174, allocations: 235.3 kB / 381.4 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.1195, allocations: 0.5065 MB / 381.9 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1196, allocations: 35.94 kB / 382 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.502e-05/0.1197, allocations: 4 kB / 382 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1199, allocations: 43.88 kB / 382 MB, free: 7.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.1211, allocations: 375.5 kB / 382.4 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1212, allocations: 0 / 382.4 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.1229, allocations: 0.5421 MB / 382.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.123, allocations: 7.984 kB / 382.9 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.1231, allocations: 37.7 kB / 383 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.1242, allocations: 319.7 kB / 383.3 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1242, allocations: 0 / 383.3 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1242, allocations: 0 / 383.3 MB, free: 6.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.1242, allocations: 0 / 383.3 MB, free: 6.648 MB / 282.7 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.0007233/0.125, allocations: 451 kB / 383.7 MB, free: 6.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.125, allocations: 8.031 kB / 383.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/0.1251, allocations: 34.56 kB / 383.8 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.1251, allocations: 11.83 kB / 383.8 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1254, allocations: 195 kB / 384 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1255, allocations: 4 kB / 384 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.1255, allocations: 0 / 384 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.1257, allocations: 59.39 kB / 384 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1257, allocations: 0 / 384 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1258, allocations: 4 kB / 384 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1258, allocations: 0 / 384 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.1259, allocations: 19.92 kB / 384.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.1262, allocations: 178.6 kB / 384.2 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.1266, allocations: 81.28 kB / 384.3 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/0.128, allocations: 1.524 MB / 385.8 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.1281, allocations: 42.5 kB / 385.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.703e-06/0.1281, allocations: 3.984 kB / 385.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004431/0.1286, allocations: 85.5 kB / 386 MB, free: 3.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.1286, allocations: 81.09 kB / 386 MB, free: 3.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1288, allocations: 109.8 kB / 386.2 MB, free: 3.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1288, allocations: 25.7 kB / 386.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.1289, allocations: 158.6 kB / 386.3 MB, free: 3.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.129, allocations: 19.66 kB / 386.4 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.129, allocations: 4 kB / 386.4 MB, free: 3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1291, allocations: 318.8 kB / 386.7 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/0.1292, allocations: 12 kB / 386.7 MB, free: 2.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1294, allocations: 43.36 kB / 386.7 MB, free: 2.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1295, allocations: 23.92 kB / 386.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1295, allocations: 0 / 386.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003277/0.1298, allocations: 77.61 kB / 386.8 MB, free: 2.508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1299, allocations: 4 kB / 386.8 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1299, allocations: 4.469 kB / 386.8 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1299, allocations: 0 / 386.8 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1301, allocations: 19.92 kB / 386.8 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1301, allocations: 0 / 386.8 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.1302, allocations: 11.97 kB / 386.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1302, allocations: 7.984 kB / 386.9 MB, free: 2.461 MB / 282.7 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 0.0001084/0.1303, allocations: 117.7 kB / 387 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.1304, allocations: 8 kB / 387 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000498/0.1309, allocations: 125.4 kB / 387.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1309, allocations: 0 / 387.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1309, allocations: 0 / 387.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1309, allocations: 0 / 387.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.1311, allocations: 181.6 kB / 387.3 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1311, allocations: 0 / 387.3 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.1313, allocations: 19.92 kB / 387.3 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.1313, allocations: 0 / 387.3 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1313, allocations: 0 / 387.3 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.1314, allocations: 4 kB / 387.3 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.1314, allocations: 3.984 kB / 387.3 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.1318, allocations: 151.5 kB / 387.5 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.597e-05/0.1319, allocations: 89.69 kB / 387.6 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.132, allocations: 8 kB / 387.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.132, allocations: 0 / 387.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.1321, allocations: 11.98 kB / 387.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1321, allocations: 7.938 kB / 387.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.213e-05/0.1322, allocations: 91.27 kB / 387.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1322, allocations: 0 / 387.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007288/0.133, allocations: 171.8 kB / 387.8 MB, free: 1.383 MB / 282.7 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.001874/0.1348, allocations: 1.018 MB / 388.9 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.1352, allocations: 47.91 kB / 388.9 MB, free: 292 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1352, allocations: 0 / 388.9 MB, free: 292 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1353, allocations: 28.11 kB / 388.9 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1355, allocations: 12 kB / 388.9 MB, free: 252 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2537/0.3893, allocations: 1.204 MB / 390.1 MB, free: 20.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.3895, allocations: 0.6906 MB / 390.8 MB, free: 19.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3896, allocations: 26.83 kB / 390.9 MB, free: 19.59 MB / 282.7 MB Notification: Performance of SimCode: time 1.292e-06/0.3896, allocations: 1.219 kB / 390.9 MB, free: 19.59 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.649/3.038, allocations: 4.067 MB / 394.9 MB, free: 19.05 MB / 282.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)