Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001452/0.001452, allocations: 105 kB / 19.74 MB, free: 2.566 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.001574/0.001574, allocations: 217.6 kB / 22.92 MB, free: 5.535 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.287/1.287, allocations: 230.4 MB / 256.4 MB, free: 8.426 MB / 206.1 MB " [Timeout remaining time 179] 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.HeatingRectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingRectifier",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.001779/0.001779, allocations: 71.88 kB / 376.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2071, allocations: 53.31 MB / 429.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003556/0.2106, allocations: 2.558 MB / 432 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.2118, allocations: 0.7128 MB / 432.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.2119, allocations: 4 kB / 432.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.2121, allocations: 43.64 kB / 432.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.2122, allocations: 71.28 kB / 432.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.2125, allocations: 99.77 kB / 432.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.2128, allocations: 282.8 kB / 433.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.213, allocations: 56.38 kB / 433.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.2131, allocations: 119.5 kB / 433.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.2133, allocations: 115.5 kB / 433.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.2133, allocations: 20 kB / 433.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.2134, allocations: 40 kB / 433.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.2135, allocations: 55.81 kB / 433.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.2136, allocations: 119.4 kB / 433.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.2139, allocations: 291.2 kB / 434 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2139, allocations: 0 / 434 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2139, allocations: 0 / 434 MB, free: 2.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2139, allocations: 0 / 434 MB, free: 2.84 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.0007876/0.2147, allocations: 0.5455 MB / 434.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2148, allocations: 8.031 kB / 434.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.62e-05/0.2148, allocations: 58.72 kB / 434.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.215, allocations: 36.75 kB / 434.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.2153, allocations: 240 kB / 434.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.2153, allocations: 20.81 kB / 434.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.2153, allocations: 20.38 kB / 434.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.2157, allocations: 195.4 kB / 435.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2157, allocations: 0 / 435.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.2157, allocations: 8 kB / 435.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2157, allocations: 4 kB / 435.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.216, allocations: 157.5 kB / 435.2 MB, free: 1.461 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.001272/0.2173, allocations: 0.9299 MB / 436.2 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.2176, allocations: 158.5 kB / 436.3 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.2178, allocations: 84.83 kB / 436.4 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.2178, allocations: 7.922 kB / 436.4 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.2178, allocations: 34.56 kB / 436.4 MB, free: 124 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.203e-06/0.2178, allocations: 0 / 436.4 MB, free: 124 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001188/0.219, allocations: 418.4 kB / 436.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.219, allocations: 55.41 kB / 436.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.2192, allocations: 180.3 kB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.2192, allocations: 25.7 kB / 437.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.2193, allocations: 148.3 kB / 437.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.2194, allocations: 67.44 kB / 437.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.2194, allocations: 33.7 kB / 437.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2196, allocations: 334.8 kB / 437.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.2197, allocations: 51.98 kB / 437.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.2198, allocations: 71.56 kB / 437.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.22, allocations: 129.6 kB / 437.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.22, allocations: 0 / 437.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003887/0.2204, allocations: 221.1 kB / 438.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2204, allocations: 8 kB / 438.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2204, allocations: 3.938 kB / 438.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.2217, allocations: 220.6 kB / 438.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.2218, allocations: 27.98 kB / 438.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004583/0.2223, allocations: 0.6109 MB / 439 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2224, allocations: 15.92 kB / 439 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.2224, allocations: 11.98 kB / 439 MB, free: 13.41 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.0001151/0.2225, allocations: 129.8 kB / 439.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.2225, allocations: 15.91 kB / 439.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.223, allocations: 228.3 kB / 439.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.223, allocations: 3.984 kB / 439.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.223, allocations: 0 / 439.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.223, allocations: 7.938 kB / 439.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008398/0.2238, allocations: 0.5896 MB / 440 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2238, allocations: 7.969 kB / 440 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.224, allocations: 27.92 kB / 440 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.225, allocations: 204.6 kB / 440.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.225, allocations: 4 kB / 440.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004434/0.2254, allocations: 0.6187 MB / 440.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2254, allocations: 4.062 kB / 440.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.2262, allocations: 424.8 kB / 441.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.2262, allocations: 101 kB / 441.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.2263, allocations: 4 kB / 441.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.2264, allocations: 15.92 kB / 441.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.2264, allocations: 11.98 kB / 441.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2265, allocations: 8 kB / 441.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.2266, allocations: 128.1 kB / 441.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2266, allocations: 0 / 441.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.2268, allocations: 55.89 kB / 441.6 MB, free: 10.7 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.00109/0.2279, allocations: 0.966 MB / 442.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.2283, allocations: 150.8 kB / 442.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2283, allocations: 0 / 442.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.2285, allocations: 79.89 kB / 442.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.2288, allocations: 24.12 kB / 442.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.2315, allocations: 2.342 MB / 445.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.2318, allocations: 0.7358 MB / 445.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.2319, allocations: 13.64 kB / 445.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.232, allocations: 67.34 kB / 446 MB, free: 6.172 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.232, allocations: 0 / 446 MB, free: 6.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.262, allocations: 4.825 MB / 450.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.62, allocations: 0 / 450.8 MB, free: 1.484 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.71813723899686]