Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_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.001021/0.001021, allocations: 94.45 kB / 16.95 MB, free: 6.031 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.001138/0.001138, allocations: 178.4 kB / 17.84 MB, free: 5.676 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.425/1.425, allocations: 205.4 MB / 224 MB, free: 13.15 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.000439/0.0004391, allocations: 8 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09511, allocations: 47.59 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001424/0.09657, allocations: 1.066 MB / 329.5 MB, free: 2.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3542/0.4508, allocations: 136.5 MB / 466.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.4509, allocations: 0 / 466.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.451, allocations: 0 / 466.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.452, allocations: 190.3 kB / 466.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.4541, allocations: 483.5 kB / 466.7 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.4542, allocations: 59.75 kB / 466.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.4543, allocations: 0 / 466.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.4544, allocations: 19.94 kB / 466.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.4545, allocations: 31.89 kB / 466.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.4545, allocations: 4 kB / 466.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.4564, allocations: 0.6121 MB / 467.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.4565, allocations: 15.92 kB / 467.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.4565, allocations: 33.7 kB / 467.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008255/0.4573, allocations: 365.1 kB / 467.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4574, allocations: 0 / 467.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4574, allocations: 0 / 467.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.4574, allocations: 0 / 467.8 MB, free: 14.88 MB / 366.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.0007762/0.4582, allocations: 443.9 kB / 468.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4582, allocations: 8.031 kB / 468.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.75e-05/0.4583, allocations: 30.56 kB / 468.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.4599, allocations: 108.2 kB / 468.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.4603, allocations: 227.4 kB / 468.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.4604, allocations: 0 / 468.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.4604, allocations: 7.938 kB / 468.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.4608, allocations: 91.33 kB / 468.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4608, allocations: 0 / 468.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.4608, allocations: 4 kB / 468.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.4609, allocations: 0 / 468.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.4611, allocations: 47.89 kB / 468.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.4616, allocations: 214.7 kB / 469 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/0.4623, allocations: 125.2 kB / 469.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.4626, allocations: 37.64 kB / 469.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.4637, allocations: 0.9862 MB / 470.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4637, allocations: 30.56 kB / 470.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 6.773e-06/0.4637, allocations: 4 kB / 470.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007982/0.4645, allocations: 137.4 kB / 470.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.4646, allocations: 77.11 kB / 470.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.465, allocations: 154.6 kB / 470.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.465, allocations: 29.7 kB / 470.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.4651, allocations: 80.14 kB / 470.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.4652, allocations: 27.64 kB / 470.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.4652, allocations: 4 kB / 470.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4654, allocations: 322.8 kB / 471 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.4656, allocations: 23.97 kB / 471 MB, free: 11.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.4658, allocations: 51.72 kB / 471.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.466, allocations: 31.92 kB / 471.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4661, allocations: 4 kB / 471.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005576/0.4666, allocations: 113.6 kB / 471.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4667, allocations: 4 kB / 471.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4667, allocations: 7.938 kB / 471.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.4667, allocations: 3.984 kB / 471.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.467, allocations: 27.97 kB / 471.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.467, allocations: 4.141 kB / 471.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.4673, allocations: 11.97 kB / 471.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.4673, allocations: 11.92 kB / 471.3 MB, free: 10.95 MB / 366.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.0001349/0.4675, allocations: 117.8 kB / 471.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.4676, allocations: 4 kB / 471.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009674/0.4685, allocations: 243.2 kB / 471.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4686, allocations: 0 / 471.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4686, allocations: 0.875 kB / 471.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4686, allocations: 0 / 471.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.4689, allocations: 219.6 kB / 471.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.4689, allocations: 3.984 kB / 471.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.4693, allocations: 23.91 kB / 471.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.4693, allocations: 4.516 kB / 471.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.4693, allocations: 7.25 kB / 471.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4694, allocations: 4 kB / 471.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4694, allocations: 0 / 471.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.4701, allocations: 185.8 kB / 472.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4702, allocations: 97.02 kB / 472.2 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.4703, allocations: 4 kB / 472.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.4706, allocations: 12.05 kB / 472.2 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.4707, allocations: 7.984 kB / 472.2 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.4707, allocations: 4 kB / 472.2 MB, free: 9.941 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002754/0.471, allocations: 127.2 kB / 472.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.471, allocations: 4 kB / 472.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001/0.472, allocations: 163.9 kB / 472.5 MB, free: 9.652 MB / 366.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 (8): * Single equations (assignments): 7 * 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.001637/0.4737, allocations: 0.9801 MB / 473.5 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.474, allocations: 79.88 kB / 473.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.474, allocations: 0 / 473.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.4741, allocations: 39.91 kB / 473.6 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.4744, allocations: 12 kB / 473.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.476, allocations: 0.9166 MB / 474.5 MB, free: 7.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.4763, allocations: 0.6887 MB / 475.2 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006647/0.477, allocations: 427.1 kB / 475.6 MB, free: 6.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.4772, allocations: 47.38 kB / 475.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4772, allocations: 0 / 475.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.4989, allocations: 7.15 MB / 482.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.4991, allocations: 244.3 kB / 483.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/2.565, allocations: 0 / 483.1 MB, free: 14.97 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat