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.001097/0.001097, allocations: 95.47 kB / 16.94 MB, free: 6.441 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.001194/0.001195, allocations: 184.3 kB / 17.83 MB, free: 6.008 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.558/1.558, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004564/0.0004565, allocations: 15.94 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1011, allocations: 47.58 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001285/0.1025, allocations: 1.041 MB / 329.5 MB, free: 2.953 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006633/0.1092, allocations: 5.523 MB / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.1093, allocations: 0 / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.1093, allocations: 0 / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.1104, allocations: 227.3 kB / 335.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.1118, allocations: 0.5183 MB / 335.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.1119, allocations: 39.92 kB / 335.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.1119, allocations: 7.938 kB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1121, allocations: 31.84 kB / 335.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/0.1129, allocations: 375.5 kB / 336.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1129, allocations: 4 kB / 336.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00094/0.1139, allocations: 0.5382 MB / 336.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.1139, allocations: 11.98 kB / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.1139, allocations: 29.7 kB / 336.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005404/0.1145, allocations: 323.7 kB / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1145, allocations: 0 / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1145, allocations: 0 / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1145, allocations: 4 kB / 337.1 MB, free: 11.3 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.000613/0.1151, allocations: 455 kB / 337.5 MB, free: 10.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.1152, allocations: 11.97 kB / 337.5 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.1153, allocations: 34.56 kB / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.1153, allocations: 7.906 kB / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.1155, allocations: 183 kB / 337.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1156, allocations: 0 / 337.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1156, allocations: 8 kB / 337.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1158, allocations: 59.39 kB / 337.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1158, allocations: 3.984 kB / 337.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1158, allocations: 4 kB / 337.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1158, allocations: 0 / 337.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.1159, allocations: 23.92 kB / 337.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.1161, allocations: 178.5 kB / 338 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.1164, allocations: 77.22 kB / 338.1 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.1177, allocations: 1.536 MB / 339.6 MB, free: 8.211 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.1178, allocations: 34.56 kB / 339.7 MB, free: 8.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1178, allocations: 0 / 339.7 MB, free: 8.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002948/0.1181, allocations: 85.5 kB / 339.7 MB, free: 8.078 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.1181, allocations: 81.11 kB / 339.8 MB, free: 7.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1183, allocations: 109.8 kB / 339.9 MB, free: 7.863 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1183, allocations: 29.7 kB / 340 MB, free: 7.828 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.1183, allocations: 80.14 kB / 340 MB, free: 7.746 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.1184, allocations: 23.7 kB / 340.1 MB, free: 7.723 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.1184, allocations: 0 / 340.1 MB, free: 7.723 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1186, allocations: 318.8 kB / 340.4 MB, free: 7.402 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.1187, allocations: 19.92 kB / 340.4 MB, free: 7.383 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.1187, allocations: 43.36 kB / 340.4 MB, free: 7.328 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.943e-05/0.1188, allocations: 15.98 kB / 340.5 MB, free: 7.312 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1188, allocations: 0 / 340.5 MB, free: 7.312 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000182/0.119, allocations: 93.45 kB / 340.5 MB, free: 7.215 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.119, allocations: 4 kB / 340.5 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.119, allocations: 4 kB / 340.6 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1191, allocations: 0 / 340.6 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.1191, allocations: 19.92 kB / 340.6 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1191, allocations: 0 / 340.6 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1192, allocations: 7.938 kB / 340.6 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1192, allocations: 4 kB / 340.6 MB, free: 7.176 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 0.0001235/0.1193, allocations: 125.8 kB / 340.7 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.1194, allocations: 0 / 340.7 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.1197, allocations: 129.8 kB / 340.8 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.1197, allocations: 4.078 kB / 340.8 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1198, allocations: 3.938 kB / 340.8 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1198, allocations: 0 / 340.8 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.1199, allocations: 173.6 kB / 341 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1199, allocations: 4 kB / 341 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.12, allocations: 19.98 kB / 341 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.12, allocations: 0 / 341 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.12, allocations: 0 / 341 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1201, allocations: 4 kB / 341 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1201, allocations: 0 / 341 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.1204, allocations: 156 kB / 341.2 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1204, allocations: 97.02 kB / 341.3 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1205, allocations: 4 kB / 341.3 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.1205, allocations: 4 kB / 341.3 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.1205, allocations: 7.984 kB / 341.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1206, allocations: 0 / 341.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.795e-05/0.1206, allocations: 95.33 kB / 341.4 MB, free: 6.258 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1206, allocations: 0 / 341.4 MB, free: 6.258 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004627/0.1211, allocations: 175.9 kB / 341.6 MB, free: 6.086 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.001261/0.1224, allocations: 1.01 MB / 342.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1226, allocations: 47.91 kB / 342.6 MB, free: 5 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1226, allocations: 0 / 342.6 MB, free: 5 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.1227, allocations: 23.98 kB / 342.6 MB, free: 4.977 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.1228, allocations: 15.94 kB / 342.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1242, allocations: 1.186 MB / 343.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.1246, allocations: 0.6927 MB / 344.5 MB, free: 2.992 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.7e-05/0.1247, allocations: 31.75 kB / 344.6 MB, free: 2.961 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.1247, allocations: 31.36 kB / 344.6 MB, free: 2.93 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1247, allocations: 0 / 344.6 MB, free: 2.93 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.1406, allocations: 4.84 MB / 349.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.1408, allocations: 258.6 kB / 349.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/1.98, allocations: 0 / 349.7 MB, free: 13.75 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