Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001337/0.001337, allocations: 109 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.001568/0.001568, allocations: 213.6 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor",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.001929/0.001929, allocations: 64.77 kB / 378.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2624, allocations: 53.37 MB / 431.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004191/0.2666, allocations: 3.051 MB / 435 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2678, allocations: 0.7556 MB / 435.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.268, allocations: 7.938 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.2681, allocations: 59.42 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.2683, allocations: 111 kB / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.2686, allocations: 99.86 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.2691, allocations: 410.2 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.2693, allocations: 75.58 kB / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.2695, allocations: 167.5 kB / 436.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.2697, allocations: 159.3 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.2698, allocations: 35.94 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.379e-05/0.2699, allocations: 36 kB / 436.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.2699, allocations: 79.67 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.2701, allocations: 175.2 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.2705, allocations: 399.2 kB / 437.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.2705, allocations: 0 / 437.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2705, allocations: 0 / 437.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2705, allocations: 0 / 437.5 MB, free: 1.324 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009589/0.2715, allocations: 0.5637 MB / 438.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2715, allocations: 8.031 kB / 438.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/0.2716, allocations: 70.72 kB / 438.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.2718, allocations: 52.69 kB / 438.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.2721, allocations: 221.9 kB / 438.4 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.2722, allocations: 25.03 kB / 438.4 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.2722, allocations: 24.38 kB / 438.5 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.2727, allocations: 262.2 kB / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2727, allocations: 0 / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.2728, allocations: 20 kB / 438.7 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2728, allocations: 8 kB / 438.7 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.2733, allocations: 218.4 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.2748, allocations: 0.9337 MB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.2753, allocations: 198.6 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.2755, allocations: 96.81 kB / 440.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.2755, allocations: 4 kB / 440.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2756, allocations: 46.48 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.2756, allocations: 0 / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00116/0.2767, allocations: 413.9 kB / 440.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.2768, allocations: 51.41 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.2771, allocations: 265.9 kB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.2771, allocations: 29.7 kB / 441 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.2772, allocations: 180.2 kB / 441.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.2773, allocations: 79.3 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.2774, allocations: 53.89 kB / 441.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2775, allocations: 334.8 kB / 441.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.2777, allocations: 80.42 kB / 441.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.2779, allocations: 99.45 kB / 441.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.2783, allocations: 198.3 kB / 442 MB, free: 12.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2783, allocations: 0 / 442 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006277/0.2789, allocations: 322.9 kB / 442.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2789, allocations: 4 kB / 442.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2789, allocations: 3.984 kB / 442.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.2792, allocations: 73.61 kB / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.2794, allocations: 35.98 kB / 442.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.2819, allocations: 2.849 MB / 445.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.2821, allocations: 27.81 kB / 445.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2821, allocations: 4 kB / 445.3 MB, free: 9.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.2822, allocations: 137.8 kB / 445.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.2823, allocations: 39.94 kB / 445.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.2823, allocations: 26.27 kB / 445.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2823, allocations: 4 kB / 445.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.2824, allocations: 8.062 kB / 445.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2824, allocations: 0 / 445.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2834, allocations: 0.6541 MB / 446.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2834, allocations: 8 kB / 446.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.2835, allocations: 23.92 kB / 446.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/0.2837, allocations: 77.66 kB / 446.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2837, allocations: 0 / 446.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/0.2861, allocations: 2.838 MB / 449.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2861, allocations: 0 / 449.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.2867, allocations: 385.5 kB / 449.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.2868, allocations: 19.81 kB / 449.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.2868, allocations: 8 kB / 449.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.287, allocations: 31.97 kB / 449.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.2871, allocations: 27.89 kB / 449.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2871, allocations: 4 kB / 449.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.2873, allocations: 185.2 kB / 449.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2873, allocations: 3.938 kB / 449.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000365/0.2877, allocations: 103.8 kB / 449.9 MB, free: 4.172 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009281/0.2886, allocations: 0.916 MB / 450.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007763/0.2894, allocations: 441.2 kB / 451.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2894, allocations: 4 kB / 451.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.2898, allocations: 333.4 kB / 451.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.2902, allocations: 48.66 kB / 451.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.2938, allocations: 2.722 MB / 454.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.2942, allocations: 0.7599 MB / 455.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.2943, allocations: 26.28 kB / 455.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.2944, allocations: 91.41 kB / 455.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2944, allocations: 0 / 455.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.3321, allocations: 6.62 MB / 461.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.855/10.19, allocations: 7.172 kB / 461.8 MB, free: 8.172 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.585044977255166] Failed to read output from testmodel.py, exit status != 0: ['time', 'VariableResistor.i', 'R2.i'] 10.27515431214124 10.299185105 10.024202236 Calling exit ...