Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.0007872/0.0007872, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008707/0.0008707, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8944/0.8944, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.257e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002519/0.002532, allocations: 2.406 MB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.00351, allocations: 0.6777 MB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.003636, allocations: 4 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.003772, allocations: 31.66 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.003873, allocations: 83.2 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.004195, allocations: 99.67 kB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.004462, allocations: 290.4 kB / 328.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.00462, allocations: 60.55 kB / 328.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.004873, allocations: 167.6 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004994, allocations: 87.7 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.005024, allocations: 20 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.989e-05/0.005104, allocations: 43.97 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.005139, allocations: 51.83 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.005202, allocations: 87.75 kB / 328.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.00547, allocations: 299 kB / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005472, allocations: 0 / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005473, allocations: 0 / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.005478, allocations: 4 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005647/0.006043, allocations: 465.6 kB / 329.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.006079, allocations: 15.98 kB / 329.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.00612, allocations: 50.73 kB / 329.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.00622, allocations: 40.73 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.006443, allocations: 189.4 kB / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.006457, allocations: 20.81 kB / 329.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.006485, allocations: 16.38 kB / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.006755, allocations: 248 kB / 329.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.006767, allocations: 4.141 kB / 329.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.006784, allocations: 8.125 kB / 329.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.006791, allocations: 4 kB / 329.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.006991, allocations: 153.9 kB / 330.1 MB, free: 10.21 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/0.007876, allocations: 0.6643 MB / 330.8 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.008095, allocations: 150.4 kB / 330.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.008236, allocations: 84.91 kB / 331 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.008254, allocations: 4 kB / 331 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.008273, allocations: 38.88 kB / 331 MB, free: 9.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.008274, allocations: 0 / 331 MB, free: 9.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006748/0.008949, allocations: 337 kB / 331.4 MB, free: 8.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.008976, allocations: 55.41 kB / 331.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.009089, allocations: 180.7 kB / 331.6 MB, free: 8.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.009104, allocations: 29.7 kB / 331.6 MB, free: 8.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.009169, allocations: 152.3 kB / 331.8 MB, free: 8.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.009203, allocations: 67.44 kB / 331.8 MB, free: 8.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.009248, allocations: 37.7 kB / 331.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.009326, allocations: 330.8 kB / 332.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.009393, allocations: 43.98 kB / 332.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.009471, allocations: 77.56 kB / 332.3 MB, free: 7.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.009621, allocations: 129.6 kB / 332.4 MB, free: 7.711 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.009622, allocations: 0 / 332.4 MB, free: 7.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002501/0.009873, allocations: 229.4 kB / 332.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.009884, allocations: 4 kB / 332.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.009889, allocations: 0 / 332.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/0.01054, allocations: 220.6 kB / 332.9 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.01061, allocations: 31.92 kB / 332.9 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003255/0.01094, allocations: 0.6148 MB / 333.5 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.01099, allocations: 11.98 kB / 333.5 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.011, allocations: 7.984 kB / 333.6 MB, free: 6.566 MB / 298.7 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 (14): * 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: 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,7)} Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/0.01109, allocations: 133.7 kB / 333.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.01111, allocations: 23.84 kB / 333.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.01141, allocations: 220.2 kB / 333.9 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01141, allocations: 7.922 kB / 333.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01141, allocations: 0 / 333.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.01141, allocations: 8 kB / 333.9 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.01193, allocations: 0.5381 MB / 334.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01193, allocations: 0 / 334.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.823e-05/0.01201, allocations: 23.98 kB / 334.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004841/0.01249, allocations: 204.7 kB / 334.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.0125, allocations: 3.938 kB / 334.7 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002971/0.0128, allocations: 0.6226 MB / 335.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0128, allocations: 0 / 335.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.01335, allocations: 424.8 kB / 335.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.01337, allocations: 23.83 kB / 335.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.01339, allocations: 7.938 kB / 335.8 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.01346, allocations: 16.11 kB / 335.8 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.01349, allocations: 11.98 kB / 335.8 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.0135, allocations: 4 kB / 335.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.083e-05/0.01357, allocations: 132.1 kB / 335.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01357, allocations: 0 / 335.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.01376, allocations: 55.89 kB / 336 MB, free: 4.008 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006865/0.01445, allocations: 0.9736 MB / 337 MB, free: 3.008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.01469, allocations: 135.9 kB / 337.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01469, allocations: 0 / 337.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.462e-05/0.01478, allocations: 83.89 kB / 337.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.015, allocations: 42.14 kB / 337.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.01672, allocations: 2.27 MB / 339.5 MB, free: 388 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.95e-05/0.01679, allocations: 133.8 kB / 339.6 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.844e-05/0.01683, allocations: 9.5 kB / 339.6 MB, free: 224 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.01689, allocations: 64.47 kB / 339.7 MB, free: 160 kB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01689, allocations: 0 / 339.7 MB, free: 160 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.03423, allocations: 5.25 MB / 344.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/7.618, allocations: 2.812 kB / 344.9 MB, free: 11.03 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.242606105282903] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 7.706204009242356 7.714220617 7.707222301 Calling exit ...