Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008586/0.0008587, allocations: 99.39 kB / 16.95 MB, free: 6.453 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.0007845/0.0007845, allocations: 185.6 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004587, allocations: 16 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09865, allocations: 47.57 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001674/0.1004, allocations: 1.062 MB / 329.5 MB, free: 2.918 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009203/0.1096, allocations: 6.627 MB / 336.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.1097, allocations: 0 / 336.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.1097, allocations: 3.938 kB / 336.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009798/0.1107, allocations: 235.2 kB / 336.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.1123, allocations: 0.5375 MB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.1124, allocations: 51.73 kB / 337 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.1125, allocations: 0 / 337 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1127, allocations: 35.84 kB / 337 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008233/0.1135, allocations: 391.4 kB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1135, allocations: 4 kB / 337.4 MB, free: 11.01 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.1149, allocations: 0.5536 MB / 337.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.115, allocations: 4 kB / 337.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.115, allocations: 37.62 kB / 338 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.1158, allocations: 339.6 kB / 338.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1158, allocations: 8 kB / 338.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1158, allocations: 0 / 338.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1159, allocations: 0 / 338.3 MB, free: 10.07 MB / 286.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.0007835/0.1167, allocations: 451 kB / 338.8 MB, free: 9.582 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1167, allocations: 15.95 kB / 338.8 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.1168, allocations: 34.56 kB / 338.8 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.1168, allocations: 7.906 kB / 338.8 MB, free: 9.516 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1171, allocations: 186.9 kB / 339 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1171, allocations: 0 / 339 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.1171, allocations: 8 kB / 339 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1173, allocations: 67.33 kB / 339.1 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1173, allocations: 0 / 339.1 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.1173, allocations: 0 / 339.1 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1173, allocations: 0 / 339.1 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.743e-05/0.1174, allocations: 15.98 kB / 339.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.1176, allocations: 178.6 kB / 339.3 MB, free: 8.965 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.1179, allocations: 77.12 kB / 339.3 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.118, allocations: 25.77 kB / 339.4 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.1194, allocations: 1.536 MB / 340.9 MB, free: 6.953 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1194, allocations: 38.56 kB / 340.9 MB, free: 6.906 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1194, allocations: 0 / 340.9 MB, free: 6.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002799/0.1197, allocations: 81.88 kB / 341 MB, free: 6.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1198, allocations: 81.11 kB / 341.1 MB, free: 6.723 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.1199, allocations: 113.8 kB / 341.2 MB, free: 6.602 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1199, allocations: 29.7 kB / 341.2 MB, free: 6.566 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.1199, allocations: 88.12 kB / 341.3 MB, free: 6.477 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.12, allocations: 27.64 kB / 341.3 MB, free: 6.449 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.12, allocations: 0 / 341.3 MB, free: 6.449 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1201, allocations: 322.8 kB / 341.7 MB, free: 6.125 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-05/0.1202, allocations: 11.94 kB / 341.7 MB, free: 6.113 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.1202, allocations: 39.73 kB / 341.7 MB, free: 6.062 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.303e-05/0.1203, allocations: 23.97 kB / 341.7 MB, free: 6.039 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1203, allocations: 0 / 341.7 MB, free: 6.039 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001864/0.1205, allocations: 89.45 kB / 341.8 MB, free: 5.945 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.1206, allocations: 4 kB / 341.8 MB, free: 5.941 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.1206, allocations: 7.984 kB / 341.8 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.1206, allocations: 0 / 341.8 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1208, allocations: 12 kB / 341.8 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1208, allocations: 4.156 kB / 341.8 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.1208, allocations: 8.047 kB / 341.9 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1209, allocations: 4 kB / 341.9 MB, free: 5.906 MB / 286.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 8.513e-05/0.1209, allocations: 117.8 kB / 342 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.121, allocations: 0 / 342 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.1214, allocations: 129.2 kB / 342.1 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1214, allocations: 7.938 kB / 342.1 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1214, allocations: 0 / 342.1 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1214, allocations: 0 / 342.1 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.1216, allocations: 181.5 kB / 342.3 MB, free: 5.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1216, allocations: 0 / 342.3 MB, free: 5.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.1217, allocations: 15.98 kB / 342.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1217, allocations: 0 / 342.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1217, allocations: 8 kB / 342.3 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1217, allocations: 3.984 kB / 342.3 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1217, allocations: 0 / 342.3 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.1221, allocations: 145.8 kB / 342.5 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.1222, allocations: 96.98 kB / 342.5 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.1222, allocations: 4 kB / 342.6 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.1222, allocations: 0 / 342.6 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1223, allocations: 11.98 kB / 342.6 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.1223, allocations: 4 kB / 342.6 MB, free: 5.094 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1224, allocations: 91.33 kB / 342.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1224, allocations: 0 / 342.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005781/0.123, allocations: 167.9 kB / 342.8 MB, free: 4.84 MB / 286.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.001281/0.1243, allocations: 0.9307 MB / 343.8 MB, free: 3.883 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.1245, allocations: 47.91 kB / 343.8 MB, free: 3.836 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1245, allocations: 0 / 343.8 MB, free: 3.836 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.1246, allocations: 23.98 kB / 343.8 MB, free: 3.812 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.1248, allocations: 20.06 kB / 343.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.1261, allocations: 0.7341 MB / 344.6 MB, free: 3 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1264, allocations: 0.6887 MB / 345.3 MB, free: 2.285 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.112e-05/0.1265, allocations: 31.7 kB / 345.3 MB, free: 2.254 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.1266, allocations: 27.42 kB / 345.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1266, allocations: 0 / 345.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.1596, allocations: 4.861 MB / 350.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.1599, allocations: 264.3 kB / 350.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.192, allocations: 0 / 350.4 MB, free: 13.02 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat