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.00192/0.00192, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002527/0.002527, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 8.062 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_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.00197/0.00197, allocations: 64.77 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2595, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001746/0.2612, allocations: 0.5073 MB / 432.4 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.2633, allocations: 1.47 MB / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.2633, allocations: 0 / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.2633, allocations: 0 / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.42e-05/0.2634, allocations: 4 kB / 433.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.264, allocations: 182.7 kB / 434.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.385e-05/0.2641, allocations: 15.98 kB / 434.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.2641, allocations: 4 kB / 434.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.2642, allocations: 15.86 kB / 434.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.2642, allocations: 11.98 kB / 434.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2642, allocations: 4 kB / 434.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.2645, allocations: 173.1 kB / 434.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.2645, allocations: 4 kB / 434.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.2646, allocations: 11.92 kB / 434.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.2648, allocations: 124.5 kB / 434.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2648, allocations: 0 / 434.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2648, allocations: 0 / 434.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.2648, allocations: 0 / 434.4 MB, free: 4.383 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.0004033/0.2652, allocations: 278.2 kB / 434.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2653, allocations: 8.031 kB / 434.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.2653, allocations: 30.75 kB / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.2655, allocations: 12.92 kB / 434.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.2656, allocations: 106.5 kB / 434.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2656, allocations: 4.375 kB / 434.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.2656, allocations: 3.938 kB / 434.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.2658, allocations: 33.69 kB / 434.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2658, allocations: 3.938 kB / 434.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.2658, allocations: 0 / 434.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2658, allocations: 0 / 434.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.979e-05/0.2658, allocations: 8 kB / 434.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.2663, allocations: 367 kB / 435.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.2664, allocations: 165.1 kB / 435.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.2664, allocations: 80.14 kB / 435.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.2665, allocations: 83.16 kB / 435.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.781e-05/0.2666, allocations: 121.8 kB / 435.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.2666, allocations: 0 / 435.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.188e-05/0.2666, allocations: 33.59 kB / 435.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.2668, allocations: 152.4 kB / 435.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2669, allocations: 109.8 kB / 436 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2669, allocations: 25.7 kB / 436 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.267, allocations: 88.08 kB / 436.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.267, allocations: 0 / 436.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.267, allocations: 17.72 kB / 436.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2672, allocations: 326.8 kB / 436.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.2672, allocations: 0 / 436.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.2672, allocations: 7.938 kB / 436.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/0.2672, allocations: 4.859 kB / 436.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2672, allocations: 0 / 436.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001225/0.2673, allocations: 41.64 kB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2674, allocations: 12.12 kB / 436.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2674, allocations: 3.984 kB / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2674, allocations: 0 / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.059e-05/0.2674, allocations: 0 / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2674, allocations: 0 / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.703e-05/0.2675, allocations: 4 kB / 436.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2675, allocations: 0 / 436.5 MB, free: 2.09 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.0001355/0.2676, allocations: 197 kB / 436.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.2677, allocations: 105 kB / 436.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.2678, allocations: 108.4 kB / 436.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.002e-05/0.2679, allocations: 184.2 kB / 437.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.743e-05/0.2679, allocations: 176.3 kB / 437.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.309e-05/0.268, allocations: 180.3 kB / 437.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.2683, allocations: 380.2 kB / 437.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.522e-05/0.2684, allocations: 109 kB / 437.9 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.2684, allocations: 108.9 kB / 438 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.2685, allocations: 180.5 kB / 438.2 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.215e-05/0.2686, allocations: 184.2 kB / 438.4 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-05/0.2687, allocations: 180.5 kB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001033/0.2688, allocations: 184.3 kB / 438.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.269, allocations: 319.6 kB / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.2691, allocations: 104.9 kB / 439.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.2692, allocations: 176.3 kB / 439.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2693, allocations: 105 kB / 439.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/0.2694, allocations: 192.2 kB / 439.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/0.2695, allocations: 101 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.376e-05/0.2696, allocations: 87.28 kB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2696, allocations: 0 / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.2699, allocations: 43.86 kB / 439.8 MB, free: 14.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.0008189/0.2707, allocations: 0.8694 MB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.066e-05/0.2708, allocations: 8 kB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2708, allocations: 0 / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.2708, allocations: 0 / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.2713, allocations: 463.7 kB / 441.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.2717, allocations: 209.8 kB / 441.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.272, allocations: 0.6729 MB / 442 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.2722, allocations: 15.97 kB / 442.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.2722, allocations: 7.438 kB / 442.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2722, allocations: 0 / 442.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.2977, allocations: 1.877 MB / 443.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.467, allocations: 11.44 kB / 444 MB, free: 10.44 MB / 350.1 MB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.986125349998474] Failed to read output from testmodel.py, exit status != 0: ['time', 'x_zero'] 8.53858036827296 8.563480514 8.293464198 Calling exit ...