Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.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.001353/0.001353, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001377/0.001377, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.455/1.455, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.Resistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Resistor",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.001999/0.001999, allocations: 71.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1079, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003401/0.1113, allocations: 2.176 MB / 429.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1123, allocations: 0.6116 MB / 429.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.668e-05/0.1124, allocations: 3.938 kB / 429.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.1125, allocations: 27.78 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.1126, allocations: 35.64 kB / 429.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1129, allocations: 55.86 kB / 429.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1131, allocations: 159.2 kB / 430.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.1132, allocations: 41.47 kB / 430.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1134, allocations: 71.72 kB / 430.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1135, allocations: 67.64 kB / 430.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.1135, allocations: 12 kB / 430.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.215e-05/0.1136, allocations: 28 kB / 430.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.1136, allocations: 27.91 kB / 430.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.716e-05/0.1137, allocations: 75.59 kB / 430.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.1139, allocations: 167.3 kB / 430.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1139, allocations: 0 / 430.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.114, allocations: 0 / 430.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.114, allocations: 0 / 430.6 MB, free: 1.227 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006389/0.1146, allocations: 451 kB / 431 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1146, allocations: 8.031 kB / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.1147, allocations: 42.73 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.1149, allocations: 28.83 kB / 431.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1152, allocations: 212.1 kB / 431.3 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1152, allocations: 8.609 kB / 431.3 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1152, allocations: 12.38 kB / 431.3 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.1154, allocations: 127.6 kB / 431.4 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1154, allocations: 3.938 kB / 431.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.1155, allocations: 4 kB / 431.4 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1155, allocations: 4 kB / 431.4 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.1157, allocations: 76.66 kB / 431.5 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008909/0.1166, allocations: 0.6096 MB / 432.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.1169, allocations: 86.56 kB / 432.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.839e-05/0.1169, allocations: 32.97 kB / 432.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.1169, allocations: 0 / 432.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.117, allocations: 30.56 kB / 432.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.117, allocations: 0 / 432.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000714/0.1177, allocations: 255.4 kB / 432.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.1177, allocations: 55.41 kB / 432.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.1179, allocations: 156.2 kB / 432.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1179, allocations: 25.7 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.118, allocations: 120.2 kB / 432.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.118, allocations: 27.78 kB / 432.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.118, allocations: 17.72 kB / 432.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1182, allocations: 322.8 kB / 433.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.1182, allocations: 19.98 kB / 433.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-05/0.1183, allocations: 50.5 kB / 433.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1185, allocations: 62.56 kB / 433.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1185, allocations: 0 / 433.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003008/0.1188, allocations: 150.2 kB / 433.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1188, allocations: 8 kB / 433.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1188, allocations: 3.984 kB / 433.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.119, allocations: 32.84 kB / 433.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.119, allocations: 11.98 kB / 433.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.1209, allocations: 1.701 MB / 435.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.1209, allocations: 3.953 kB / 435.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1209, allocations: 4 kB / 435.3 MB, free: 12.07 MB / 366.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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.1211, allocations: 125.9 kB / 435.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1211, allocations: 11.95 kB / 435.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.1211, allocations: 20.64 kB / 435.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1211, allocations: 8.031 kB / 435.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1211, allocations: 0 / 435.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1211, allocations: 4 kB / 435.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.1214, allocations: 213.5 kB / 435.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1214, allocations: 0 / 435.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.1214, allocations: 4 kB / 435.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/0.1215, allocations: 36.83 kB / 435.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1215, allocations: 0 / 435.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.123, allocations: 1.678 MB / 437.4 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.123, allocations: 0 / 437.4 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.1233, allocations: 216.3 kB / 437.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.1233, allocations: 89.05 kB / 437.7 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.1234, allocations: 4 kB / 437.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.1235, allocations: 4 kB / 437.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1235, allocations: 7.984 kB / 437.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1235, allocations: 8 kB / 437.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.577e-05/0.1236, allocations: 116.5 kB / 437.8 MB, free: 9.309 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1236, allocations: 0 / 437.8 MB, free: 9.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003628/0.124, allocations: 43.89 kB / 437.8 MB, free: 9.266 MB / 366.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 (2): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006551/0.1246, allocations: 0.7405 MB / 438.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.1251, allocations: 194.7 kB / 438.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1251, allocations: 0 / 438.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.1253, allocations: 158.7 kB / 438.9 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1256, allocations: 16.11 kB / 438.9 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.1277, allocations: 1.721 MB / 440.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1281, allocations: 0.708 MB / 441.4 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.047e-05/0.1281, allocations: 8.438 kB / 441.4 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.1282, allocations: 27.42 kB / 441.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1282, allocations: 4 kB / 441.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.1612, allocations: 3.078 MB / 444.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.56, allocations: 0 / 444.5 MB, free: 2.562 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Resistor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.204958270303905] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.i', 'resistor.LossPower'] 11.652931806165725 11.863118003 11.746915856 Calling exit ...