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.001267/0.001267, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001424/0.001424, allocations: 217.1 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.345/1.345, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 58.56 kB / 347.2 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2395, allocations: 49.14 MB / 396.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003662/0.2432, allocations: 2.334 MB / 398.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2444, allocations: 0.6428 MB / 399.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.2445, allocations: 3.906 kB / 399.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.2447, allocations: 38.48 kB / 399.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.2448, allocations: 69.84 kB / 399.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.2451, allocations: 80.94 kB / 399.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.2454, allocations: 282.1 kB / 399.8 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.2456, allocations: 58.45 kB / 399.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.2458, allocations: 109.5 kB / 399.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.2459, allocations: 105.7 kB / 400.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.2459, allocations: 29.59 kB / 400.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.246, allocations: 34.59 kB / 400.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.2461, allocations: 52.16 kB / 400.2 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.977e-05/0.2462, allocations: 96.75 kB / 400.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.2466, allocations: 295.9 kB / 400.6 MB, free: 6.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2466, allocations: 3.938 kB / 400.6 MB, free: 6.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2466, allocations: 0 / 400.6 MB, free: 6.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2466, allocations: 1.406 kB / 400.6 MB, free: 6.246 MB / 318.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.0007227/0.2473, allocations: 462.5 kB / 401 MB, free: 5.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2473, allocations: 13.89 kB / 401 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.2474, allocations: 54.48 kB / 401.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.2474, allocations: 26.05 kB / 401.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.2477, allocations: 179.5 kB / 401.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2477, allocations: 17 kB / 401.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.2478, allocations: 26.03 kB / 401.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.2482, allocations: 237.7 kB / 401.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2482, allocations: 5.156 kB / 401.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.2482, allocations: 9.219 kB / 401.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2482, allocations: 5.406 kB / 401.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.2485, allocations: 150.1 kB / 401.7 MB, free: 5.414 MB / 318.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.001179/0.2497, allocations: 0.6694 MB / 402.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.25, allocations: 136.1 kB / 402.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.2502, allocations: 92.2 kB / 402.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.2502, allocations: 2.312 kB / 402.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.2502, allocations: 35.94 kB / 402.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.2502, allocations: 0 / 402.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001178/0.2514, allocations: 344.1 kB / 403 MB, free: 4.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.2514, allocations: 53.91 kB / 403 MB, free: 4.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.2516, allocations: 170 kB / 403.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2516, allocations: 30.83 kB / 403.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.2517, allocations: 147.6 kB / 403.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.2517, allocations: 59.86 kB / 403.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.2518, allocations: 37.14 kB / 403.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.2518, allocations: 328.2 kB / 403.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.2519, allocations: 55.84 kB / 403.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.2521, allocations: 73.84 kB / 403.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.2523, allocations: 125.1 kB / 404 MB, free: 3.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2523, allocations: 0 / 404 MB, free: 3.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003602/0.2527, allocations: 221.8 kB / 404.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2527, allocations: 13.59 kB / 404.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2527, allocations: 1.094 kB / 404.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.2539, allocations: 220.4 kB / 404.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.254, allocations: 28.77 kB / 404.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003562/0.2544, allocations: 0.6064 MB / 405.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2545, allocations: 17.64 kB / 405.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2545, allocations: 4.906 kB / 405.1 MB, free: 3.059 MB / 318.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 9.273e-05/0.2546, allocations: 135.9 kB / 405.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.2547, allocations: 20.84 kB / 405.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/0.2551, allocations: 230 kB / 405.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2551, allocations: 6.938 kB / 405.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2551, allocations: 0.7969 kB / 405.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2551, allocations: 1.125 kB / 405.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.2559, allocations: 0.539 MB / 406.1 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2559, allocations: 32 / 406.1 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.256, allocations: 35.11 kB / 406.1 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.257, allocations: 200 kB / 406.3 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.257, allocations: 2.047 kB / 406.3 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003148/0.2574, allocations: 0.6251 MB / 406.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2574, allocations: 0 / 406.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.2581, allocations: 425.4 kB / 407.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.2581, allocations: 23.09 kB / 407.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.2581, allocations: 1.375 kB / 407.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2583, allocations: 10.91 kB / 407.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.2583, allocations: 11.61 kB / 407.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.2583, allocations: 8.703 kB / 407.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.124e-05/0.2584, allocations: 128.3 kB / 407.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2584, allocations: 64 / 407.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.2587, allocations: 68.66 kB / 407.6 MB, free: 1.391 MB / 318.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.0009042/0.2596, allocations: 0.9621 MB / 408.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003749/0.26, allocations: 147.4 kB / 408.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.26, allocations: 0 / 408.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.2602, allocations: 84.83 kB / 408.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2605, allocations: 26.56 kB / 408.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.2633, allocations: 2.299 MB / 411.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.2634, allocations: 129.1 kB / 411.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.74e-05/0.2635, allocations: 14.09 kB / 411.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.2635, allocations: 59.2 kB / 411.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2635, allocations: 1.156 kB / 411.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.2981, allocations: 5.025 MB / 416.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.23, allocations: 9.297 kB / 416.3 MB, free: 12.09 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.412219915073365] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.349710897076875 12.375233392 12.124066794 Calling exit ...