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.001346/0.001346, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.0015/0.0015, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.404/1.404, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.001908/0.001908, allocations: 72.12 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1016, allocations: 53.31 MB / 426.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003341/0.1049, allocations: 2.175 MB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1059, allocations: 0.6077 MB / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.282e-05/0.106, allocations: 4 kB / 429.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.1061, allocations: 23.78 kB / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.1062, allocations: 47.58 kB / 429.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.1064, allocations: 55.86 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1066, allocations: 159.2 kB / 430 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1068, allocations: 37.47 kB / 430 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1069, allocations: 71.72 kB / 430.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.107, allocations: 59.7 kB / 430.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.1071, allocations: 16 kB / 430.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.13e-05/0.1071, allocations: 24 kB / 430.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.1072, allocations: 31.91 kB / 430.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.134e-05/0.1072, allocations: 79.59 kB / 430.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.1075, allocations: 163.3 kB / 430.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1075, allocations: 4 kB / 430.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1075, allocations: 0 / 430.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.1075, allocations: 0 / 430.4 MB, free: 1.293 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.0006273/0.1081, allocations: 445 kB / 430.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1081, allocations: 12.03 kB / 430.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.251e-05/0.1082, allocations: 50.73 kB / 430.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.1084, allocations: 28.77 kB / 431 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.1086, allocations: 212.2 kB / 431.2 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1087, allocations: 8.609 kB / 431.2 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.1087, allocations: 16.31 kB / 431.2 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1089, allocations: 115.6 kB / 431.3 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1089, allocations: 0 / 431.3 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.109, allocations: 8 kB / 431.3 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.109, allocations: 4 kB / 431.3 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.1092, allocations: 80.66 kB / 431.4 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.189/0.2982, allocations: 0.6004 MB / 432 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.2985, allocations: 80.17 kB / 432.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.2985, allocations: 29.38 kB / 432.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.2986, allocations: 1.562 kB / 432.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.2986, allocations: 38.05 kB / 432.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.2986, allocations: 0 / 432.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006453/0.2992, allocations: 261.9 kB / 432.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.2992, allocations: 52.34 kB / 432.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2993, allocations: 142.8 kB / 432.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.2994, allocations: 26.61 kB / 432.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.2994, allocations: 129.3 kB / 432.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.2994, allocations: 23.33 kB / 432.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.2994, allocations: 21.33 kB / 432.8 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.2995, allocations: 326.9 kB / 433.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.2995, allocations: 21.77 kB / 433.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.2996, allocations: 43.92 kB / 433.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.2997, allocations: 71.38 kB / 433.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2997, allocations: 3.906 kB / 433.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002493/0.3, allocations: 132.5 kB / 433.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3, allocations: 5.656 kB / 433.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3, allocations: 3.938 kB / 433.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.3002, allocations: 39.09 kB / 433.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.3002, allocations: 13.69 kB / 433.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.3013, allocations: 1.696 MB / 435.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.441e-05/0.3014, allocations: 4.797 kB / 435.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3014, allocations: 2.25 kB / 435.1 MB, free: 8.082 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 (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 6.426e-05/0.3015, allocations: 121 kB / 435.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.3015, allocations: 16.06 kB / 435.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.3015, allocations: 17.45 kB / 435.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3015, allocations: 0.5312 kB / 435.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.3015, allocations: 6.906 kB / 435.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.3015, allocations: 1.438 kB / 435.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.3017, allocations: 210.6 kB / 435.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3017, allocations: 0 / 435.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.3017, allocations: 3.094 kB / 435.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.3018, allocations: 43.27 kB / 435.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3018, allocations: 0.875 kB / 435.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000809/0.3026, allocations: 1.682 MB / 437.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3026, allocations: 0.9375 kB / 437.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3029, allocations: 217.8 kB / 437.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.3029, allocations: 89.48 kB / 437.5 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.3029, allocations: 1.531 kB / 437.5 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.303, allocations: 8.469 kB / 437.5 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.303, allocations: 5.031 kB / 437.5 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.303, allocations: 9.5 kB / 437.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.271e-05/0.3031, allocations: 114.2 kB / 437.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3031, allocations: 0 / 437.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000335/0.3034, allocations: 37.98 kB / 437.7 MB, free: 5.93 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 (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.0003641/0.3038, allocations: 0.7558 MB / 438.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.3041, allocations: 183.7 kB / 438.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3041, allocations: 0 / 438.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.3042, allocations: 163.3 kB / 438.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3045, allocations: 19.59 kB / 438.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.3059, allocations: 1.707 MB / 440.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.3061, allocations: 0.711 MB / 441.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.768e-05/0.3061, allocations: 7.672 kB / 441.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.3061, allocations: 33.81 kB / 441.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3061, allocations: 0 / 441.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.3387, allocations: 3.098 MB / 444.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.63, allocations: 7.844 kB / 444.4 MB, free: 2.539 MB / 350.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Resistor_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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: 13.86870534112677] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.i', 'resistor.LossPower'] 11.717927397228777 11.740578141 11.628572998 Calling exit ...