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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001728/0.001728, allocations: 117.4 kB / 17.84 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001937/0.001937, allocations: 208.5 kB / 18.79 MB, free: 4.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.4 MB / 250 MB, free: 9.133 MB / 206.1 MB 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.001865/0.001865, allocations: 71.83 kB / 366.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2808, allocations: 53.31 MB / 420.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001881/0.2827, allocations: 0.4921 MB / 420.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2846, allocations: 1.458 MB / 422.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.2847, allocations: 0 / 422.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.2847, allocations: 3.938 kB / 422.1 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.036e-05/0.2847, allocations: 0 / 422.1 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.2854, allocations: 185.7 kB / 422.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.497e-05/0.2854, allocations: 15.98 kB / 422.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.2855, allocations: 0 / 422.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.2855, allocations: 7.938 kB / 422.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.2856, allocations: 19.97 kB / 422.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.2856, allocations: 0 / 422.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.2859, allocations: 170.6 kB / 422.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.2859, allocations: 0 / 422.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.2859, allocations: 15.92 kB / 422.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.2861, allocations: 118.7 kB / 422.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.2861, allocations: 8 kB / 422.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2861, allocations: 0 / 422.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2861, allocations: 0 / 422.6 MB, free: 5.816 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.0004213/0.2866, allocations: 355.2 kB / 423 MB, free: 5.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2866, allocations: 8.031 kB / 423 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.2866, allocations: 30.75 kB / 423 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.2868, allocations: 4.938 kB / 423 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.2869, allocations: 160.4 kB / 423.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.2869, allocations: 384 / 423.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.2869, allocations: 11.94 kB / 423.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.287, allocations: 37.69 kB / 423.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.287, allocations: 0 / 423.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2871, allocations: 3.938 kB / 423.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2871, allocations: 0 / 423.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.034e-05/0.2871, allocations: 0 / 423.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.2875, allocations: 484.9 kB / 423.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.576e-05/0.2876, allocations: 173.2 kB / 423.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.2877, allocations: 80.14 kB / 424 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.2877, allocations: 79.22 kB / 424 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/0.2878, allocations: 105.8 kB / 424.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2878, allocations: 0 / 424.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.563e-05/0.2879, allocations: 37.64 kB / 424.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.288, allocations: 156.4 kB / 424.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2881, allocations: 105.8 kB / 424.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.2881, allocations: 25.7 kB / 424.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.2882, allocations: 96.06 kB / 424.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.2882, allocations: 0 / 424.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.2882, allocations: 17.73 kB / 424.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2884, allocations: 318.8 kB / 424.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.2884, allocations: 8 kB / 424.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.2884, allocations: 3.984 kB / 424.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.2884, allocations: 12.86 kB / 424.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2884, allocations: 0 / 424.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001151/0.2885, allocations: 41.59 kB / 424.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2885, allocations: 4 kB / 424.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2886, allocations: 0 / 424.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2886, allocations: 0 / 424.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.2886, allocations: 8.125 kB / 425 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2886, allocations: 3.984 kB / 425 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.2887, allocations: 0 / 425 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.2887, allocations: 7.984 kB / 425 MB, free: 3.223 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.0001169/0.2888, allocations: 185.1 kB / 425.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.2889, allocations: 112.9 kB / 425.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.2889, allocations: 104.5 kB / 425.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-05/0.289, allocations: 180.3 kB / 425.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.851e-05/0.2891, allocations: 184.2 kB / 425.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-05/0.2892, allocations: 184.2 kB / 425.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.2895, allocations: 413.1 kB / 426.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-05/0.2895, allocations: 101 kB / 426.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.2896, allocations: 101 kB / 426.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-05/0.2897, allocations: 184.2 kB / 426.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/0.2897, allocations: 180.3 kB / 426.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-05/0.2898, allocations: 188.6 kB / 427 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-05/0.2899, allocations: 180.3 kB / 427.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.2901, allocations: 323.6 kB / 427.5 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.2902, allocations: 182.1 kB / 427.7 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.2903, allocations: 188.2 kB / 427.9 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2904, allocations: 101 kB / 428 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.2905, allocations: 176.3 kB / 428.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.2905, allocations: 108.9 kB / 428.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.838e-05/0.2906, allocations: 91.27 kB / 428.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2906, allocations: 0 / 428.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.2909, allocations: 43.88 kB / 428.4 MB, free: 15.55 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.0007932/0.2917, allocations: 0.873 MB / 429.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.347e-05/0.2918, allocations: 11.88 kB / 429.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2918, allocations: 0 / 429.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.2918, allocations: 0 / 429.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.2922, allocations: 459.8 kB / 429.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.2926, allocations: 205.8 kB / 429.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.293, allocations: 0.6768 MB / 430.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.2931, allocations: 11.98 kB / 430.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.2931, allocations: 7.438 kB / 430.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2931, allocations: 0 / 430.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.3179, allocations: 1.901 MB / 432.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.227, allocations: 11.56 kB / 432.5 MB, free: 11.47 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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)