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.00125/0.00125, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001357/0.001357, allocations: 208.5 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.358/1.358, allocations: 230.6 MB / 257.5 MB, free: 7.797 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+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 0.001518/0.001518, allocations: 47.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2599, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003855/0.2637, allocations: 2.404 MB / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.265, allocations: 0.6661 MB / 434.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.2651, allocations: 7.938 kB / 434.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.2652, allocations: 39.64 kB / 434.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.2654, allocations: 71.34 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.2657, allocations: 99.75 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.266, allocations: 278.8 kB / 434.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.2662, allocations: 63 kB / 434.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.2664, allocations: 115.5 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.2666, allocations: 123.5 kB / 434.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.2667, allocations: 20 kB / 435 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.2668, allocations: 39.98 kB / 435 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.2668, allocations: 47.84 kB / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.2669, allocations: 111.5 kB / 435.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.2673, allocations: 286.8 kB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2673, allocations: 0 / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2673, allocations: 0 / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2673, allocations: 0 / 435.4 MB, free: 2.273 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.0008623/0.2682, allocations: 481.4 kB / 435.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2682, allocations: 16.02 kB / 435.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.362e-05/0.2683, allocations: 54.73 kB / 436 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.2685, allocations: 40.73 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.2688, allocations: 186.1 kB / 436.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2688, allocations: 12.81 kB / 436.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.2689, allocations: 24.38 kB / 436.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.2693, allocations: 238.8 kB / 436.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2693, allocations: 7.938 kB / 436.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.2693, allocations: 19.98 kB / 436.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2693, allocations: 4 kB / 436.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.2697, allocations: 153.6 kB / 436.6 MB, free: 0.9805 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.001278/0.2709, allocations: 0.6597 MB / 437.3 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.2712, allocations: 142.6 kB / 437.4 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.2715, allocations: 84.83 kB / 437.5 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2715, allocations: 0 / 437.5 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.2715, allocations: 42.5 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.2715, allocations: 3.938 kB / 437.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001293/0.2728, allocations: 334.3 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.2729, allocations: 55.41 kB / 438 MB, free: 15.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.273, allocations: 184.4 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2731, allocations: 29.7 kB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.2732, allocations: 152.4 kB / 438.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/0.2732, allocations: 63.42 kB / 438.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.2733, allocations: 37.7 kB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2734, allocations: 334.8 kB / 438.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.2735, allocations: 47.97 kB / 438.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.2737, allocations: 69.69 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.2739, allocations: 128.2 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2739, allocations: 3.938 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004169/0.2743, allocations: 218.3 kB / 439.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2743, allocations: 10.66 kB / 439.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2743, allocations: 3.938 kB / 439.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/0.2758, allocations: 212.6 kB / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.276, allocations: 39.97 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005289/0.2765, allocations: 0.6109 MB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.2766, allocations: 11.89 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.2767, allocations: 8 kB / 440.1 MB, free: 13.36 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.0001329/0.2768, allocations: 129.8 kB / 440.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.2768, allocations: 15.91 kB / 440.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.2773, allocations: 231 kB / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2773, allocations: 4 kB / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2773, allocations: 0 / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2773, allocations: 0 / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008613/0.2782, allocations: 0.538 MB / 441 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.2782, allocations: 11.94 kB / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.2783, allocations: 31.91 kB / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.2795, allocations: 204.6 kB / 441.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.2795, allocations: 8 kB / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005017/0.28, allocations: 0.6264 MB / 441.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.28, allocations: 0 / 441.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.2808, allocations: 428.9 kB / 442.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.2809, allocations: 19.83 kB / 442.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.2809, allocations: 11.98 kB / 442.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.281, allocations: 4 kB / 442.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.2811, allocations: 19.91 kB / 442.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.2811, allocations: 4 kB / 442.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.2812, allocations: 132.1 kB / 442.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2812, allocations: 0 / 442.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.2815, allocations: 55.89 kB / 442.5 MB, free: 10.79 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.001257/0.2828, allocations: 0.9587 MB / 443.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.2832, allocations: 151.7 kB / 443.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2832, allocations: 0 / 443.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.2834, allocations: 84.02 kB / 443.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2837, allocations: 20.06 kB / 443.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.2868, allocations: 2.344 MB / 446.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.2869, allocations: 129.9 kB / 446.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.305e-05/0.287, allocations: 13.48 kB / 446.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.862e-05/0.2871, allocations: 59.41 kB / 446.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2871, allocations: 4 kB / 446.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03326/0.3203, allocations: 5.164 MB / 451.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.3, allocations: 6.141 kB / 451.5 MB, free: 1.891 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.50691258700681] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.41679720801767 12.444211892 12.172032772 Calling exit ...