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_TX.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.001805/0.001805, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.002251/0.002251, allocations: 216.5 kB / 23 MB, free: 5.609 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.408/1.408, allocations: 230.5 MB / 256.5 MB, free: 8.438 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_TX,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",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.001887/0.001887, allocations: 67.83 kB / 376.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2342, allocations: 53.31 MB / 429.5 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002422/0.2367, allocations: 1.386 MB / 430.9 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3861/0.6227, allocations: 152.4 MB / 0.5696 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.6228, allocations: 4 kB / 0.5696 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.6228, allocations: 6 kB / 0.5696 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.624, allocations: 378.2 kB / 0.57 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.6251, allocations: 0.5108 MB / 0.5705 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.6252, allocations: 74.47 kB / 0.5706 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.6252, allocations: 3.453 kB / 0.5706 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.6253, allocations: 33.69 kB / 0.5706 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.291e-05/0.6253, allocations: 32.59 kB / 0.5706 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.6254, allocations: 2.719 kB / 0.5706 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.6269, allocations: 1.138 MB / 0.5717 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.627, allocations: 14.12 kB / 0.5718 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.627, allocations: 21.44 kB / 0.5718 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000844/0.6279, allocations: 0.7043 MB / 0.5725 GB, free: 12.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6279, allocations: 9.75 kB / 0.5725 GB, free: 12.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.6279, allocations: 0 / 0.5725 GB, free: 12.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.6279, allocations: 0 / 0.5725 GB, free: 12.75 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.0006262/0.6285, allocations: 461.4 kB / 0.5729 GB, free: 12.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.6285, allocations: 10.88 kB / 0.5729 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.6286, allocations: 31.94 kB / 0.573 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004345/0.629, allocations: 73.12 kB / 0.573 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.6292, allocations: 198.6 kB / 0.5732 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.6292, allocations: 9.875 kB / 0.5732 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.6292, allocations: 6.781 kB / 0.5732 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.6294, allocations: 73.78 kB / 0.5733 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.6294, allocations: 3.938 kB / 0.5733 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.6294, allocations: 3.75 kB / 0.5733 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6294, allocations: 1.875 kB / 0.5733 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.563e-05/0.6295, allocations: 38.3 kB / 0.5733 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.6297, allocations: 200.1 kB / 0.5735 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.63, allocations: 110 kB / 0.5736 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.6301, allocations: 36.39 kB / 0.5737 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/0.6306, allocations: 140.4 kB / 0.5738 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.6306, allocations: 33.75 kB / 0.5738 GB, free: 11.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.6306, allocations: 0 / 0.5738 GB, free: 11.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003298/0.6309, allocations: 121.9 kB / 0.574 GB, free: 11.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.631, allocations: 81.52 kB / 0.574 GB, free: 11.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.6311, allocations: 137.4 kB / 0.5742 GB, free: 11.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.6311, allocations: 25.7 kB / 0.5742 GB, free: 11.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.6312, allocations: 90.17 kB / 0.5743 GB, free: 11.26 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.6312, allocations: 23.36 kB / 0.5743 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.6313, allocations: 23.59 kB / 0.5743 GB, free: 11.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6314, allocations: 324 kB / 0.5746 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.6315, allocations: 26.19 kB / 0.5747 GB, free: 10.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.6315, allocations: 55.3 kB / 0.5747 GB, free: 10.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.6317, allocations: 89.59 kB / 0.5748 GB, free: 10.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6317, allocations: 4 kB / 0.5748 GB, free: 10.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002283/0.6319, allocations: 104 kB / 0.5749 GB, free: 10.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.6319, allocations: 11.25 kB / 0.5749 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.6319, allocations: 1.203 kB / 0.5749 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6319, allocations: 2.156 kB / 0.5749 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.632, allocations: 18.22 kB / 0.5749 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.632, allocations: 6.469 kB / 0.5749 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.6321, allocations: 5.828 kB / 0.5749 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.6321, allocations: 6.969 kB / 0.5749 GB, free: 10.77 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 8.383e-05/0.6322, allocations: 118.8 kB / 0.5751 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.6322, allocations: 4.75 kB / 0.5751 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.6324, allocations: 111.7 kB / 0.5752 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6324, allocations: 2.75 kB / 0.5752 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6324, allocations: 0 / 0.5752 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.6324, allocations: 1.203 kB / 0.5752 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.6326, allocations: 190 kB / 0.5754 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.6326, allocations: 4 kB / 0.5754 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.6327, allocations: 14.59 kB / 0.5754 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6327, allocations: 0 / 0.5754 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6327, allocations: 6.375 kB / 0.5754 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6327, allocations: 0 / 0.5754 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6327, allocations: 0 / 0.5754 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.633, allocations: 168 kB / 0.5755 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.6331, allocations: 85.73 kB / 0.5756 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.6331, allocations: 2.406 kB / 0.5756 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.6331, allocations: 3.578 kB / 0.5756 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.6332, allocations: 7.125 kB / 0.5756 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.6332, allocations: 6.219 kB / 0.5756 GB, free: 10.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.548e-05/0.6332, allocations: 113 kB / 0.5757 GB, free: 10.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6332, allocations: 0 / 0.5757 GB, free: 10.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004875/0.6337, allocations: 167.5 kB / 0.5759 GB, free: 10.12 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001429/0.6352, allocations: 1.032 MB / 0.5769 GB, free: 9.441 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.6353, allocations: 66.22 kB / 0.577 GB, free: 9.434 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6353, allocations: 0 / 0.577 GB, free: 9.434 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.6354, allocations: 30.62 kB / 0.577 GB, free: 9.434 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.6356, allocations: 20.34 kB / 0.577 GB, free: 9.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.6375, allocations: 1.749 MB / 0.5787 GB, free: 8.125 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.6378, allocations: 0.6882 MB / 0.5794 GB, free: 7.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.983e-05/0.6379, allocations: 25.31 kB / 0.5794 GB, free: 7.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.638, allocations: 25.02 kB / 0.5795 GB, free: 7.406 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.638, allocations: 4 kB / 0.5795 GB, free: 7.402 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.6693, allocations: 6.298 MB / 0.5856 GB, free: 4.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.638, allocations: 10.95 kB / 0.5856 GB, free: 4.77 MB / 462.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.83796046700445] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.707320482004434 8.721348893 8.090310393 Calling exit ...