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_sine.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.001452/0.001452, allocations: 109.5 kB / 19.75 MB, free: 2.562 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.00159/0.00159, allocations: 218.1 kB / 22.92 MB, free: 5.539 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.29/1.29, allocations: 230.5 MB / 256.4 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 179] 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_sine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",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.001775/0.001775, allocations: 71.88 kB / 376.1 MB, free: 4.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2072, allocations: 53.31 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001446/0.2087, allocations: 0.5045 MB / 429.9 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2104, allocations: 1.451 MB / 431.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.2104, allocations: 0 / 431.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.2104, allocations: 7.938 kB / 431.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.236e-05/0.2104, allocations: 0 / 431.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.211, allocations: 186.6 kB / 431.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.211e-05/0.211, allocations: 8 kB / 431.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.2111, allocations: 7.969 kB / 431.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.76e-05/0.2111, allocations: 11.94 kB / 431.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.354e-05/0.2112, allocations: 19.92 kB / 431.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.2112, allocations: 0 / 431.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.2114, allocations: 175.8 kB / 431.7 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.2115, allocations: 0 / 431.7 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.2115, allocations: 7.938 kB / 431.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.2117, allocations: 124.1 kB / 431.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2117, allocations: 4 kB / 431.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2117, allocations: 0 / 431.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2117, allocations: 0 / 431.9 MB, free: 4.949 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003524/0.212, allocations: 351.3 kB / 432.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.2121, allocations: 12.03 kB / 432.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.2121, allocations: 34.69 kB / 432.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.2122, allocations: 8.922 kB / 432.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.2123, allocations: 160.4 kB / 432.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.2123, allocations: 384 / 432.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.2123, allocations: 7.938 kB / 432.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/0.2124, allocations: 37.69 kB / 432.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.2124, allocations: 0 / 432.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.2124, allocations: 0 / 432.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.2124, allocations: 4 kB / 432.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.2125, allocations: 0 / 432.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.2129, allocations: 472.9 kB / 432.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.213, allocations: 169.2 kB / 433.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.213, allocations: 84.12 kB / 433.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.213, allocations: 87.22 kB / 433.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.2131, allocations: 105.8 kB / 433.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2131, allocations: 0 / 433.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.022e-05/0.2131, allocations: 37.59 kB / 433.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.2132, allocations: 152.4 kB / 433.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2133, allocations: 109.8 kB / 433.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.2133, allocations: 25.7 kB / 433.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.2134, allocations: 96.08 kB / 433.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.2134, allocations: 0 / 433.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.2134, allocations: 17.7 kB / 433.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2136, allocations: 318.8 kB / 434.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.2136, allocations: 4 kB / 434.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.2136, allocations: 0 / 434.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.144e-05/0.2136, allocations: 8.859 kB / 434.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2136, allocations: 4.094 kB / 434.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.772e-05/0.2137, allocations: 45.58 kB / 434.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.2137, allocations: 4 kB / 434.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2137, allocations: 0 / 434.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.2137, allocations: 3.938 kB / 434.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.2138, allocations: 4 kB / 434.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.2138, allocations: 0 / 434.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.2138, allocations: 0 / 434.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2138, allocations: 7.984 kB / 434.2 MB, free: 2.363 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001083/0.2139, allocations: 193.1 kB / 434.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.214, allocations: 109 kB / 434.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.939e-05/0.2141, allocations: 108.5 kB / 434.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.373e-05/0.2141, allocations: 176.3 kB / 434.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.497e-05/0.2142, allocations: 184.2 kB / 435 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-05/0.2143, allocations: 180.3 kB / 435.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.2145, allocations: 409.2 kB / 435.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.212e-05/0.2146, allocations: 112.9 kB / 435.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.2146, allocations: 101 kB / 435.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.441e-05/0.2147, allocations: 180.2 kB / 435.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.704e-05/0.2148, allocations: 176.3 kB / 436.1 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-05/0.2148, allocations: 188.4 kB / 436.3 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-05/0.2149, allocations: 180.3 kB / 436.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.2151, allocations: 319.6 kB / 436.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.2152, allocations: 178.1 kB / 436.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/0.2153, allocations: 188.2 kB / 437.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.2153, allocations: 105 kB / 437.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.2154, allocations: 180.3 kB / 437.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/0.2155, allocations: 109.2 kB / 437.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.34e-05/0.2155, allocations: 91.27 kB / 437.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2155, allocations: 0 / 437.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.2158, allocations: 39.88 kB / 437.6 MB, free: 14.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0006702/0.2165, allocations: 0.8929 MB / 438.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.818e-05/0.2165, allocations: 15.94 kB / 438.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2165, allocations: 0 / 438.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.542e-06/0.2165, allocations: 0 / 438.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.2169, allocations: 454.7 kB / 439 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.2172, allocations: 201.9 kB / 439.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2175, allocations: 0.6807 MB / 439.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.114e-05/0.2176, allocations: 11.98 kB / 439.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.2176, allocations: 7.438 kB / 439.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2176, allocations: 0 / 439.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.2405, allocations: 1.862 MB / 441.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/7.191, allocations: 7.969 kB / 441.7 MB, free: 10.59 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.245201254998392]