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.001838/0.001838, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002198/0.002198, allocations: 208 kB / 23.73 MB, free: 4.391 MB / 14.72 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 1.507/1.507, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002193/0.002193, allocations: 67.88 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3016, allocations: 53.4 MB / 431.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003852/0.3055, allocations: 2.408 MB / 433.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3067, allocations: 0.67 MB / 434.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.3069, allocations: 7.938 kB / 434.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.307, allocations: 31.66 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.3072, allocations: 75.34 kB / 434.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.3075, allocations: 91.81 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.3079, allocations: 282.7 kB / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.3081, allocations: 58.25 kB / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.3083, allocations: 115.6 kB / 434.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.3085, allocations: 107.4 kB / 435 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.3085, allocations: 20 kB / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3086, allocations: 43.98 kB / 435 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.3087, allocations: 55.83 kB / 435.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3088, allocations: 95.59 kB / 435.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.3092, allocations: 294.8 kB / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3092, allocations: 0 / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3092, allocations: 0 / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3092, allocations: 0 / 435.5 MB, free: 2.078 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009044/0.3101, allocations: 477.5 kB / 435.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3102, allocations: 11.98 kB / 435.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.589e-05/0.3102, allocations: 58.73 kB / 436 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.3104, allocations: 40.73 kB / 436 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.3108, allocations: 190.7 kB / 436.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3108, allocations: 12.81 kB / 436.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.3109, allocations: 24.38 kB / 436.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.3113, allocations: 242.8 kB / 436.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.3113, allocations: 7.953 kB / 436.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.3113, allocations: 8 kB / 436.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3113, allocations: 4 kB / 436.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.3117, allocations: 149.7 kB / 436.7 MB, free: 0.7969 MB / 334.1 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.001321/0.313, allocations: 0.6675 MB / 437.3 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.3133, allocations: 142.5 kB / 437.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.3135, allocations: 88.91 kB / 437.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.3135, allocations: 0 / 437.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3136, allocations: 38.56 kB / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.3136, allocations: 0 / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001217/0.3148, allocations: 338.3 kB / 437.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3148, allocations: 51.41 kB / 438 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.315, allocations: 188.1 kB / 438.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.315, allocations: 29.7 kB / 438.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3152, allocations: 148.4 kB / 438.3 MB, free: 15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.3152, allocations: 63.42 kB / 438.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.3153, allocations: 33.72 kB / 438.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3154, allocations: 334.8 kB / 438.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3156, allocations: 47.98 kB / 438.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3157, allocations: 77.25 kB / 438.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.3159, allocations: 128.4 kB / 439 MB, free: 14.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3159, allocations: 4 kB / 439 MB, free: 14.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004076/0.3164, allocations: 210.3 kB / 439.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3164, allocations: 10.66 kB / 439.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.3164, allocations: 3.938 kB / 439.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.3177, allocations: 228.5 kB / 439.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.3178, allocations: 31.98 kB / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005895/0.3184, allocations: 0.6031 MB / 440.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3185, allocations: 23.81 kB / 440.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.3185, allocations: 4 kB / 440.1 MB, free: 13.17 MB / 350.1 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 0.0001344/0.3187, allocations: 137.8 kB / 440.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.3187, allocations: 19.89 kB / 440.3 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/0.3192, allocations: 234.8 kB / 440.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3192, allocations: 4 kB / 440.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3192, allocations: 0 / 440.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3192, allocations: 0 / 440.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008792/0.3201, allocations: 0.538 MB / 441 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3201, allocations: 11.97 kB / 441.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3202, allocations: 23.98 kB / 441.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.3212, allocations: 204.6 kB / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3213, allocations: 4 kB / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004946/0.3218, allocations: 0.6227 MB / 441.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3218, allocations: 3.984 kB / 441.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00082/0.3226, allocations: 424.9 kB / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.3226, allocations: 19.83 kB / 442.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.3226, allocations: 8 kB / 442.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3228, allocations: 11.98 kB / 442.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3228, allocations: 7.984 kB / 442.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3228, allocations: 4 kB / 442.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.323, allocations: 137.2 kB / 442.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.323, allocations: 4.062 kB / 442.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.3233, allocations: 59.89 kB / 442.6 MB, free: 10.59 MB / 350.1 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.001221/0.3245, allocations: 0.952 MB / 443.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004206/0.3249, allocations: 154.3 kB / 443.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3249, allocations: 0 / 443.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.3251, allocations: 75.89 kB / 443.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.3254, allocations: 38.36 kB / 443.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.3286, allocations: 2.34 MB / 446.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.3287, allocations: 133.8 kB / 446.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.706e-05/0.3288, allocations: 17.48 kB / 446.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/0.3289, allocations: 55.42 kB / 446.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3289, allocations: 0 / 446.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.367, allocations: 5.097 MB / 451.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.64, allocations: 11.5 kB / 451.4 MB, free: 1.727 MB / 350.1 MB " [Timeout remaining time 647] (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: 15.103460335638374] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.7554942057468 12.7773305 12.464989236 Calling exit ...