Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001191/0.001191, allocations: 83.64 kB / 21.43 MB, free: 3.137 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.005527/0.005527, allocations: 161.5 kB / 24.69 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8891/0.8891, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.273e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003046/0.003079, allocations: 2.341 MB / 300.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.004097, allocations: 0.64 MB / 301.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.004215, allocations: 7.938 kB / 301.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.004354, allocations: 39.58 kB / 301.5 MB, free: 468 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.004461, allocations: 75.28 kB / 301.5 MB, free: 392 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.004757, allocations: 79.77 kB / 301.6 MB, free: 312 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.004976, allocations: 290.6 kB / 301.9 MB, free: 20 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1317/0.1367, allocations: 50.67 kB / 302 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.137, allocations: 160.3 kB / 302.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1372, allocations: 84.2 kB / 302.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.1372, allocations: 21.47 kB / 302.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.765e-05/0.1373, allocations: 37.94 kB / 302.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.1373, allocations: 50.38 kB / 302.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.445e-05/0.1374, allocations: 84.39 kB / 302.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1377, allocations: 288.6 kB / 302.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1377, allocations: 0.6562 kB / 302.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1377, allocations: 6.328 kB / 302.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1377, allocations: 1.188 kB / 302.7 MB, free: 13.19 MB / 282.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.0006292/0.1383, allocations: 463.3 kB / 303.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1384, allocations: 16.55 kB / 303.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1384, allocations: 55.19 kB / 303.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.1384, allocations: 25.73 kB / 303.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1387, allocations: 183.5 kB / 303.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1387, allocations: 15.84 kB / 303.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1387, allocations: 18.16 kB / 303.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.139, allocations: 243.5 kB / 303.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.139, allocations: 2.719 kB / 303.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.139, allocations: 15.09 kB / 303.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1391, allocations: 4.719 kB / 303.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.1393, allocations: 148.8 kB / 303.8 MB, free: 12.55 MB / 282.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.0008079/0.1401, allocations: 0.6639 MB / 304.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.1403, allocations: 141.6 kB / 304.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1404, allocations: 86.53 kB / 304.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1404, allocations: 4.375 kB / 304.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.1404, allocations: 37.23 kB / 304.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/0.1404, allocations: 3 kB / 304.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.000728/0.1412, allocations: 342 kB / 305.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.1412, allocations: 54.56 kB / 305.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.1413, allocations: 169.2 kB / 305.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.1413, allocations: 30.17 kB / 305.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.1414, allocations: 146.4 kB / 305.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.1414, allocations: 69.59 kB / 305.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.1414, allocations: 35.08 kB / 305.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.191e-05/0.1415, allocations: 329.6 kB / 305.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.351e-05/0.1415, allocations: 50.95 kB / 306 MB, free: 11.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.1416, allocations: 74 kB / 306 MB, free: 11.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1417, allocations: 126.5 kB / 306.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1418, allocations: 1.094 kB / 306.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002386/0.142, allocations: 216 kB / 306.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.142, allocations: 5.688 kB / 306.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.142, allocations: 0 / 306.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006481/0.1427, allocations: 216.9 kB / 306.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.1427, allocations: 30.09 kB / 306.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002479/0.143, allocations: 0.6212 MB / 307.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.143, allocations: 12.52 kB / 307.3 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.143, allocations: 5.406 kB / 307.3 MB, free: 10.6 MB / 282.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 6.901e-05/0.1431, allocations: 135.6 kB / 307.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.1431, allocations: 20.75 kB / 307.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.1434, allocations: 230.3 kB / 307.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1434, allocations: 1.656 kB / 307.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1434, allocations: 1 kB / 307.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1434, allocations: 1.172 kB / 307.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.1439, allocations: 0.5439 MB / 308.2 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1439, allocations: 1.438 kB / 308.2 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.461e-05/0.144, allocations: 26.56 kB / 308.2 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/0.1445, allocations: 200.2 kB / 308.4 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1445, allocations: 5.734 kB / 308.4 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002408/0.1448, allocations: 0.6199 MB / 309 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1448, allocations: 3.188 kB / 309 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.1452, allocations: 428.8 kB / 309.5 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.1452, allocations: 18.3 kB / 309.5 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1453, allocations: 11.64 kB / 309.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.1453, allocations: 8.938 kB / 309.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.1454, allocations: 16.38 kB / 309.5 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1454, allocations: 5.156 kB / 309.5 MB, free: 9.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.267e-05/0.1454, allocations: 136.4 kB / 309.6 MB, free: 8.988 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1454, allocations: 0 / 309.6 MB, free: 8.988 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.1457, allocations: 55.78 kB / 309.7 MB, free: 8.977 MB / 282.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.0006317/0.1463, allocations: 0.9571 MB / 310.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.1465, allocations: 155.8 kB / 310.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1465, allocations: 0 / 310.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1467, allocations: 76.62 kB / 310.9 MB, free: 8.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1469, allocations: 36.53 kB / 310.9 MB, free: 8.113 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.1487, allocations: 2.234 MB / 313.2 MB, free: 6.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.1488, allocations: 127.4 kB / 313.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.1489, allocations: 15.25 kB / 313.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.149, allocations: 60.59 kB / 313.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of SimCode: time 4.5e-07/0.149, allocations: 4 kB / 313.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.1716, allocations: 5.163 MB / 318.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.698, allocations: 9.156 kB / 318.5 MB, free: 4.914 MB / 282.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.303976039402187] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 7.788354455493391 7.797689366 7.658148163 Calling exit ...