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.001881/0.00188, allocations: 119 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002396/0.002396, allocations: 204.7 kB / 18.74 MB, free: 4.18 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.436/1.436, allocations: 227.7 MB / 247.2 MB, free: 10.23 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.001901/0.001902, allocations: 63.91 kB / 358.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2582, allocations: 50.54 MB / 409.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001577/0.2598, allocations: 0.5004 MB / 409.6 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2617, allocations: 1.431 MB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.2618, allocations: 0 / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.2618, allocations: 4 kB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.981e-05/0.2618, allocations: 3.938 kB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.2625, allocations: 178.7 kB / 411.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.25e-05/0.2625, allocations: 19.92 kB / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.2626, allocations: 0 / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.2626, allocations: 15.92 kB / 411.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.2627, allocations: 15.98 kB / 411.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.2627, allocations: 0 / 411.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.263, allocations: 171.8 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.263, allocations: 4 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.2631, allocations: 7.938 kB / 411.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.2633, allocations: 122.7 kB / 411.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2633, allocations: 3.984 kB / 411.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2633, allocations: 0 / 411.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.2633, allocations: 0 / 411.5 MB, free: 14.94 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.0003763/0.2637, allocations: 351.3 kB / 411.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2637, allocations: 8.031 kB / 411.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.2638, allocations: 30.75 kB / 411.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.2639, allocations: 4.938 kB / 411.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.264, allocations: 172.3 kB / 412.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2641, allocations: 4.375 kB / 412.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.2641, allocations: 7.875 kB / 412.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.081e-05/0.2642, allocations: 29.7 kB / 412.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.2642, allocations: 3.984 kB / 412.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2642, allocations: 0 / 412.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2642, allocations: 4 kB / 412.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.2643, allocations: 4 kB / 412.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.2647, allocations: 477 kB / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.2648, allocations: 173.1 kB / 412.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.2649, allocations: 80.14 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.2649, allocations: 79.28 kB / 412.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.265, allocations: 105.8 kB / 413 MB, free: 13.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.265, allocations: 3.938 kB / 413 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.758e-05/0.265, allocations: 37.62 kB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.2651, allocations: 156.4 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2652, allocations: 105.8 kB / 413.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2653, allocations: 29.7 kB / 413.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.2653, allocations: 88.08 kB / 413.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.2653, allocations: 0 / 413.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.2654, allocations: 21.75 kB / 413.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2655, allocations: 318.8 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.2655, allocations: 4 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.2656, allocations: 0 / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.2656, allocations: 16.95 kB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2656, allocations: 0 / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001046/0.2657, allocations: 41.59 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2657, allocations: 4 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2657, allocations: 0 / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2657, allocations: 4 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/0.2658, allocations: 3.984 kB / 413.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.2658, allocations: 0 / 413.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.2658, allocations: 0 / 413.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2659, allocations: 4 kB / 413.8 MB, free: 12.35 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.0001086/0.266, allocations: 189.1 kB / 414 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.2661, allocations: 105 kB / 414.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.2661, allocations: 116.4 kB / 414.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-05/0.2662, allocations: 176.3 kB / 414.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.757e-05/0.2663, allocations: 184.2 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.178e-05/0.2664, allocations: 180.3 kB / 414.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.2666, allocations: 409.2 kB / 415.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.481e-05/0.2667, allocations: 104.9 kB / 415.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.2667, allocations: 101.2 kB / 415.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.732e-05/0.2668, allocations: 184.2 kB / 415.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.2669, allocations: 192.2 kB / 415.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.567e-05/0.267, allocations: 180.5 kB / 415.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.537e-05/0.267, allocations: 184.2 kB / 416.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.2672, allocations: 311.7 kB / 416.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.2673, allocations: 182.1 kB / 416.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.2674, allocations: 188.2 kB / 416.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2675, allocations: 104.9 kB / 416.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.2676, allocations: 180.2 kB / 417 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.2676, allocations: 108.9 kB / 417.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.339e-05/0.2677, allocations: 83.28 kB / 417.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2677, allocations: 0 / 417.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.268, allocations: 47.86 kB / 417.3 MB, free: 8.68 MB / 334.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.0007912/0.2688, allocations: 0.8918 MB / 418.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.738e-05/0.2689, allocations: 7.938 kB / 418.2 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2689, allocations: 0 / 418.2 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.2689, allocations: 0 / 418.2 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.2693, allocations: 463.7 kB / 418.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.2697, allocations: 193.9 kB / 418.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.27, allocations: 0.6768 MB / 419.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.2701, allocations: 15.97 kB / 419.5 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.2702, allocations: 11.44 kB / 419.5 MB, free: 6.352 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2702, allocations: 0 / 419.5 MB, free: 6.352 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.2922, allocations: 1.876 MB / 421.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.221, allocations: 11.73 kB / 421.4 MB, free: 4.605 MB / 334.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)