Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.001663/0.001663, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00204/0.00204, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.377/1.377, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ChuaCircuit",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.001941/0.001941, allocations: 76.75 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2593, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003516/0.2628, allocations: 2.181 MB / 434.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.2639, allocations: 0.5843 MB / 434.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.264, allocations: 7.938 kB / 434.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.2641, allocations: 27.7 kB / 434.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.2642, allocations: 51.5 kB / 434.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.2644, allocations: 55.92 kB / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.2647, allocations: 235 kB / 435.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.2649, allocations: 67.88 kB / 435.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.265, allocations: 83.72 kB / 435.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.2652, allocations: 99.59 kB / 435.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.2652, allocations: 20 kB / 435.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.931e-05/0.2653, allocations: 24 kB / 435.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.2653, allocations: 43.84 kB / 435.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2654, allocations: 103.6 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.2657, allocations: 231 kB / 435.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.2657, allocations: 8 kB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2657, allocations: 4 kB / 435.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.2657, allocations: 0 / 435.7 MB, free: 3.074 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007469/0.2665, allocations: 421.5 kB / 436.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2665, allocations: 8.031 kB / 436.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.786e-05/0.2666, allocations: 54.73 kB / 436.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.2666, allocations: 20.8 kB / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.2669, allocations: 177 kB / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2669, allocations: 12.38 kB / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.267, allocations: 24.31 kB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.2673, allocations: 177.7 kB / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2673, allocations: 0 / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.2674, allocations: 12 kB / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2674, allocations: 4 kB / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.2677, allocations: 143.9 kB / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.2688, allocations: 0.6993 MB / 437.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.2692, allocations: 150.5 kB / 437.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.2694, allocations: 88.81 kB / 437.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2694, allocations: 0 / 437.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.2694, allocations: 42.56 kB / 437.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/0.2694, allocations: 3.938 kB / 437.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004621/0.2699, allocations: 184.8 kB / 437.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.27, allocations: 67.22 kB / 438 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2701, allocations: 151.6 kB / 438.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.2701, allocations: 29.7 kB / 438.2 MB, free: 472 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2702, allocations: 140.2 kB / 438.3 MB, free: 328 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.2703, allocations: 43.64 kB / 438.3 MB, free: 284 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.2703, allocations: 33.7 kB / 438.4 MB, free: 244 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.2705, allocations: 326.8 kB / 438.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.2706, allocations: 51.92 kB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.2708, allocations: 65.69 kB / 438.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.271, allocations: 125.7 kB / 438.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.271, allocations: 0 / 438.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000324/0.2714, allocations: 180.7 kB / 439.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2714, allocations: 4 kB / 439.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.2714, allocations: 7.938 kB / 439.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2714, allocations: 0 / 439.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.2716, allocations: 47.95 kB / 439.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2716, allocations: 3.984 kB / 439.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.2717, allocations: 15.89 kB / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.2717, allocations: 8 kB / 439.2 MB, free: 15.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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.0001163/0.2718, allocations: 125.8 kB / 439.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.2719, allocations: 11.91 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.2719, allocations: 24.7 kB / 439.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2719, allocations: 0 / 439.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2719, allocations: 4 kB / 439.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2719, allocations: 0 / 439.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.2722, allocations: 240.6 kB / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2722, allocations: 0 / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.2724, allocations: 39.92 kB / 439.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.2724, allocations: 3.984 kB / 439.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2724, allocations: 3.938 kB / 439.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2724, allocations: 4 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2724, allocations: 3.938 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.2729, allocations: 299.4 kB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.2729, allocations: 15.91 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.273, allocations: 3.984 kB / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.2731, allocations: 15.92 kB / 440 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.2731, allocations: 11.98 kB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.2732, allocations: 7.984 kB / 440 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.723e-05/0.2732, allocations: 118.5 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2732, allocations: 0 / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.2735, allocations: 47.89 kB / 440.1 MB, free: 14.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * 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 (13): * Single equations (assignments): 13 * 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.0007324/0.2742, allocations: 0.8333 MB / 441 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.2745, allocations: 119 kB / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2745, allocations: 0 / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2747, allocations: 55.92 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.275, allocations: 28.05 kB / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.2775, allocations: 2.066 MB / 443.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2779, allocations: 0.7201 MB / 444 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.752e-05/0.2779, allocations: 13.42 kB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/0.278, allocations: 47.42 kB / 444 MB, free: 10.36 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.278, allocations: 4 kB / 444 MB, free: 10.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3041, allocations: 3.486 MB / 447.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/7.919, allocations: 8.062 kB / 447.5 MB, free: 6.961 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv --start-time 0 --stop-time 50000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.232623102143407] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C2.v', 'L.i'] 7.989978757221252 8.017384473 7.74667626 Calling exit ...