Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 110.5 kB / 21.22 MB, free: 0.5156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 208 kB / 24.54 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 64.7 kB / 378.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.282, allocations: 53.38 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002662/0.2846, allocations: 1.377 MB / 433.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4845/0.7691, allocations: 152.1 MB / 0.5716 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.7691, allocations: 0 / 0.5716 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.7692, allocations: 6.469 kB / 0.5717 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009384/0.7701, allocations: 247.6 kB / 0.5719 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.7711, allocations: 409.2 kB / 0.5723 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.7712, allocations: 56.5 kB / 0.5723 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.7713, allocations: 2.531 kB / 0.5723 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.318e-05/0.7713, allocations: 27.03 kB / 0.5724 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.987e-05/0.7714, allocations: 33.34 kB / 0.5724 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.7714, allocations: 0 / 0.5724 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.7725, allocations: 0.7079 MB / 0.5731 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.7726, allocations: 8.703 kB / 0.5731 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.7726, allocations: 29.88 kB / 0.5731 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006812/0.7733, allocations: 499.4 kB / 0.5736 GB, free: 12.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7733, allocations: 2.125 kB / 0.5736 GB, free: 12.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.7733, allocations: 1.094 kB / 0.5736 GB, free: 12.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.7733, allocations: 0 / 0.5736 GB, free: 12.86 MB / 462.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.0005602/0.7738, allocations: 358.8 kB / 0.5739 GB, free: 12.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.7739, allocations: 9.719 kB / 0.574 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.7739, allocations: 33.56 kB / 0.574 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.7752, allocations: 112.3 kB / 0.5741 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.7755, allocations: 173.9 kB / 0.5743 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.7755, allocations: 0 / 0.5743 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.7756, allocations: 2.906 kB / 0.5743 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.7758, allocations: 91.19 kB / 0.5743 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.7758, allocations: 4 kB / 0.5744 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.7758, allocations: 5.906 kB / 0.5744 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.7758, allocations: 1.203 kB / 0.5744 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.776, allocations: 50.28 kB / 0.5744 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.7763, allocations: 174.4 kB / 0.5746 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.7768, allocations: 128.9 kB / 0.5747 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.7769, allocations: 40.83 kB / 0.5747 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.7771, allocations: 92.17 kB / 0.5748 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.7772, allocations: 33.16 kB / 0.5749 GB, free: 12.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.7772, allocations: 0 / 0.5749 GB, free: 12.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005035/0.7777, allocations: 141.7 kB / 0.575 GB, free: 11.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.7777, allocations: 77.11 kB / 0.5751 GB, free: 11.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.778, allocations: 156.9 kB / 0.5752 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.778, allocations: 25.7 kB / 0.5752 GB, free: 11.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.778, allocations: 83.45 kB / 0.5753 GB, free: 11.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.7781, allocations: 26.5 kB / 0.5753 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.7781, allocations: 31.14 kB / 0.5754 GB, free: 11.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.7783, allocations: 324.3 kB / 0.5757 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/0.7784, allocations: 23.14 kB / 0.5757 GB, free: 11.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.7785, allocations: 60.61 kB / 0.5758 GB, free: 11.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.7787, allocations: 83.83 kB / 0.5758 GB, free: 11.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7787, allocations: 0 / 0.5758 GB, free: 11.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000314/0.7791, allocations: 128 kB / 0.576 GB, free: 11.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7791, allocations: 4.875 kB / 0.576 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7791, allocations: 6.875 kB / 0.576 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.7791, allocations: 0 / 0.576 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.7792, allocations: 23.67 kB / 0.576 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.7792, allocations: 3 kB / 0.576 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.7794, allocations: 14.41 kB / 0.576 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.7794, allocations: 4.906 kB / 0.576 GB, free: 11.2 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.7795, allocations: 115.9 kB / 0.5761 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.7796, allocations: 6.422 kB / 0.5761 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/0.7802, allocations: 259.2 kB / 0.5764 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.7802, allocations: 3.828 kB / 0.5764 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.7802, allocations: 0 / 0.5764 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7802, allocations: 2.391 kB / 0.5764 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.7804, allocations: 196 kB / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7804, allocations: 2.062 kB / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.7805, allocations: 23.12 kB / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7805, allocations: 2.016 kB / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.7806, allocations: 2.688 kB / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7806, allocations: 4 kB / 0.5766 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7806, allocations: 0 / 0.5766 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.781, allocations: 181.2 kB / 0.5768 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.781, allocations: 13.41 kB / 0.5768 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.781, allocations: 3.562 kB / 0.5768 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.7812, allocations: 11.73 kB / 0.5768 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.7813, allocations: 7.266 kB / 0.5768 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.7813, allocations: 6.078 kB / 0.5768 GB, free: 10.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.7814, allocations: 131.1 kB / 0.5769 GB, free: 10.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7814, allocations: 3.938 kB / 0.577 GB, free: 10.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005061/0.7819, allocations: 135.2 kB / 0.5771 GB, free: 10.66 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001301/0.7832, allocations: 0.9115 MB / 0.578 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.7835, allocations: 76.77 kB / 0.578 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7835, allocations: 0 / 0.578 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.7837, allocations: 42.36 kB / 0.5781 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.7839, allocations: 10.94 kB / 0.5781 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.7865, allocations: 1.798 MB / 0.5798 GB, free: 8.711 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.7868, allocations: 0.692 MB / 0.5805 GB, free: 8.012 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005186/0.7873, allocations: 436.9 kB / 0.5809 GB, free: 7.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.7875, allocations: 43.55 kB / 0.581 GB, free: 7.957 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.7875, allocations: 4 kB / 0.581 GB, free: 7.953 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.8223, allocations: 6.668 MB / 0.5875 GB, free: 4.859 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/9.14, allocations: 15.27 kB / 0.5875 GB, free: 4.848 MB / 462.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.455026810988784] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 9.214283727109432 9.22979361 8.4529004 Calling exit ...