Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008212/0.0008212, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009666/0.0009666, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.895/0.895, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.248e-05, allocations: 6.219 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002737/0.002759, allocations: 2.401 MB / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009168/0.003676, allocations: 0.6777 MB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.003783, allocations: 3.938 kB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.003907, allocations: 35.64 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.004006, allocations: 75.28 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.004295, allocations: 95.75 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.004524, allocations: 294.4 kB / 328.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.004675, allocations: 60.55 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.004877, allocations: 171.6 kB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.004984, allocations: 79.78 kB / 328.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.005014, allocations: 24 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.06e-05/0.005084, allocations: 39.98 kB / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.005115, allocations: 55.75 kB / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.339e-05/0.005178, allocations: 87.81 kB / 328.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.005431, allocations: 298.9 kB / 329 MB, free: 11.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.005434, allocations: 4 kB / 329 MB, free: 11.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.005435, allocations: 0 / 329 MB, free: 11.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.00544, allocations: 0 / 329 MB, free: 11.49 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.0005829/0.006023, allocations: 472.5 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.00606, allocations: 8.031 kB / 329.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.006105, allocations: 62.72 kB / 329.5 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.006211, allocations: 36.75 kB / 329.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.00644, allocations: 185.4 kB / 329.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.006454, allocations: 16.88 kB / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.006483, allocations: 24.38 kB / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.006742, allocations: 236.1 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.006755, allocations: 4.141 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.006774, allocations: 16.12 kB / 330 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.006779, allocations: 4 kB / 330 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.006982, allocations: 153.8 kB / 330.2 MB, free: 10.22 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.000839/0.007821, allocations: 0.6643 MB / 330.8 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.008036, allocations: 142.6 kB / 331 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.008176, allocations: 92.77 kB / 331.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.008198, allocations: 7.938 kB / 331.1 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.008216, allocations: 34.88 kB / 331.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.008217, allocations: 0 / 331.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006959/0.008913, allocations: 344.5 kB / 331.4 MB, free: 8.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.008938, allocations: 51.41 kB / 331.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.009053, allocations: 184.4 kB / 331.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.009068, allocations: 29.64 kB / 331.7 MB, free: 8.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.009136, allocations: 156.3 kB / 331.8 MB, free: 8.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.009168, allocations: 67.42 kB / 331.9 MB, free: 8.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.00921, allocations: 29.72 kB / 331.9 MB, free: 8.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.00929, allocations: 330.8 kB / 332.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.009359, allocations: 47.98 kB / 332.3 MB, free: 7.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-05/0.009442, allocations: 73.62 kB / 332.4 MB, free: 7.852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.009601, allocations: 133.5 kB / 332.5 MB, free: 7.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009604, allocations: 0 / 332.5 MB, free: 7.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002466/0.00985, allocations: 218.3 kB / 332.7 MB, free: 7.492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.009863, allocations: 8 kB / 332.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.009867, allocations: 0 / 332.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/0.01051, allocations: 212.6 kB / 332.9 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.01059, allocations: 27.98 kB / 333 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003448/0.01093, allocations: 0.6147 MB / 333.6 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.01099, allocations: 24 kB / 333.6 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.011, allocations: 4 kB / 333.6 MB, free: 6.578 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.759e-05/0.01109, allocations: 129.8 kB / 333.7 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.01111, allocations: 23.84 kB / 333.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.0114, allocations: 227.1 kB / 334 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.0114, allocations: 4 kB / 334 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01141, allocations: 0 / 334 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01141, allocations: 0 / 334 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.01195, allocations: 0.5342 MB / 334.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.01195, allocations: 4 kB / 334.5 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.29e-05/0.01204, allocations: 35.92 kB / 334.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/0.01252, allocations: 196.7 kB / 334.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.01254, allocations: 11.94 kB / 334.8 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002891/0.01283, allocations: 0.6303 MB / 335.4 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01283, allocations: 0 / 335.4 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.01326, allocations: 412.9 kB / 335.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.01328, allocations: 19.83 kB / 335.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.0133, allocations: 11.94 kB / 335.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.01337, allocations: 20.05 kB / 335.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.0134, allocations: 11.92 kB / 335.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.01341, allocations: 4 kB / 335.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.988e-05/0.01348, allocations: 137.2 kB / 336 MB, free: 4.066 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01348, allocations: 0 / 336 MB, free: 4.066 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.01368, allocations: 59.89 kB / 336.1 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.0006732/0.01435, allocations: 0.9615 MB / 337 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.0146, allocations: 139.8 kB / 337.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.0146, allocations: 0 / 337.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.0147, allocations: 86.39 kB / 337.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.01493, allocations: 35.84 kB / 337.3 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.01676, allocations: 2.264 MB / 339.5 MB, free: 412 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.01684, allocations: 129.9 kB / 339.7 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.317e-05/0.01688, allocations: 13.5 kB / 339.7 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.01694, allocations: 64.47 kB / 339.7 MB, free: 184 kB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01694, allocations: 0 / 339.7 MB, free: 184 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.03663, allocations: 5.256 MB / 345 MB, free: 11.08 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.568, allocations: 0 / 345 MB, free: 11.08 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.190014920197427] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 7.663040295243263 7.671695572 7.663757367 Calling exit ...