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.0009693/0.0009693, allocations: 95.88 kB / 16.93 MB, free: 5.984 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.001212/0.001212, allocations: 178.8 kB / 17.82 MB, free: 5.652 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.518/1.518, allocations: 205.4 MB / 224 MB, free: 13.16 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.0006686/0.0006687, allocations: 12 kB / 280.8 MB, free: 3.66 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1046, allocations: 47.57 MB / 328.4 MB, free: 4.02 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001466/0.1061, allocations: 1.045 MB / 329.5 MB, free: 2.965 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3167/0.4228, allocations: 127.1 MB / 456.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.4229, allocations: 0 / 456.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.423, allocations: 7.984 kB / 456.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009287/0.4239, allocations: 191.4 kB / 456.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.4251, allocations: 479.6 kB / 457.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.267e-05/0.4252, allocations: 43.92 kB / 457.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.4253, allocations: 4 kB / 457.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.4253, allocations: 19.94 kB / 457.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.4254, allocations: 31.89 kB / 457.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.4254, allocations: 0 / 457.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.4266, allocations: 0.6358 MB / 457.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.4266, allocations: 8 kB / 457.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.4266, allocations: 33.64 kB / 458 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.4272, allocations: 349.2 kB / 458.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4272, allocations: 4 kB / 458.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4272, allocations: 0 / 458.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4272, allocations: 0 / 458.3 MB, free: 6.82 MB / 350.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.00057/0.4278, allocations: 443.8 kB / 458.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4279, allocations: 8.031 kB / 458.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.4279, allocations: 34.56 kB / 458.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.429, allocations: 104.3 kB / 458.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.4293, allocations: 211.4 kB / 459.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.4293, allocations: 4 kB / 459.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.4293, allocations: 7.984 kB / 459.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.4295, allocations: 95.27 kB / 459.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.4296, allocations: 0 / 459.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4296, allocations: 0 / 459.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4296, allocations: 0 / 459.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.4298, allocations: 55.88 kB / 459.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.43, allocations: 210.7 kB / 459.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.4305, allocations: 121.2 kB / 459.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/0.4312, allocations: 0.9818 MB / 460.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.4312, allocations: 38.55 kB / 460.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.4312, allocations: 0 / 460.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004502/0.4317, allocations: 125.5 kB / 460.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.4317, allocations: 85.09 kB / 460.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.432, allocations: 161.8 kB / 461 MB, free: 3.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.432, allocations: 25.7 kB / 461 MB, free: 3.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.432, allocations: 84.14 kB / 461.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.4321, allocations: 23.64 kB / 461.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.4321, allocations: 4 kB / 461.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4322, allocations: 314.8 kB / 461.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.95e-05/0.4323, allocations: 31.97 kB / 461.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.4325, allocations: 52.19 kB / 461.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.4326, allocations: 27.98 kB / 461.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4326, allocations: 3.953 kB / 461.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002987/0.4329, allocations: 121.5 kB / 461.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4329, allocations: 7.938 kB / 461.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4329, allocations: 4.062 kB / 461.7 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4329, allocations: 4 kB / 461.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.4331, allocations: 19.97 kB / 461.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4331, allocations: 7.938 kB / 461.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.4333, allocations: 11.91 kB / 461.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.4333, allocations: 7.984 kB / 461.7 MB, free: 2.949 MB / 350.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.0001137/0.4334, allocations: 109.8 kB / 461.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.4335, allocations: 7.953 kB / 461.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.4341, allocations: 244 kB / 462.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.525e-06/0.4341, allocations: 4 kB / 462.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4341, allocations: 4.516 kB / 462.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4341, allocations: 0 / 462.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.4343, allocations: 215.6 kB / 462.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4344, allocations: 7.953 kB / 462.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.4346, allocations: 27.47 kB / 462.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4346, allocations: 0 / 462.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4346, allocations: 4 kB / 462.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4346, allocations: 0 / 462.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4346, allocations: 480 / 462.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.435, allocations: 199.4 kB / 462.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/0.4351, allocations: 97.02 kB / 462.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.4352, allocations: 4 kB / 462.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.4353, allocations: 0 / 462.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.4354, allocations: 11.98 kB / 462.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.4354, allocations: 4 kB / 462.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.4356, allocations: 135.3 kB / 462.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4356, allocations: 4.062 kB / 462.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005629/0.4362, allocations: 163.9 kB / 462.9 MB, free: 1.633 MB / 350.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.001366/0.4375, allocations: 1.066 MB / 464 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.4378, allocations: 75.88 kB / 464.1 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4378, allocations: 0 / 464.1 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.4379, allocations: 40.11 kB / 464.1 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.4381, allocations: 11.98 kB / 464.1 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.4398, allocations: 1.364 MB / 465.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.44, allocations: 0.6926 MB / 466.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005639/0.4406, allocations: 435 kB / 466.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.4407, allocations: 47.38 kB / 466.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4407, allocations: 0 / 466.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.4601, allocations: 7.135 MB / 473.8 MB, free: 6.664 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/0.4605, allocations: 235 kB / 474 MB, free: 6.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.381, allocations: 0 / 474 MB, free: 6.422 MB / 366.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