Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9071/0.9071, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.275e-05, allocations: 5.516 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003983/0.004006, allocations: 2.372 MB / 320.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.005427, allocations: 0.6232 MB / 321.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.005602, allocations: 7.938 kB / 321.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.005782, allocations: 39.58 kB / 321.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.005968, allocations: 75.3 kB / 321.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.006406, allocations: 87.75 kB / 321.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.006797, allocations: 290.6 kB / 321.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.007001, allocations: 56.55 kB / 322 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.007301, allocations: 167.5 kB / 322.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.00748, allocations: 79.77 kB / 322.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.007524, allocations: 24 kB / 322.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.007632, allocations: 39.92 kB / 322.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.007684, allocations: 55.75 kB / 322.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.416e-05/0.007778, allocations: 83.83 kB / 322.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.008158, allocations: 287.1 kB / 322.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.008163, allocations: 0 / 322.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.008165, allocations: 4 kB / 322.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.008172, allocations: 0 / 322.7 MB, free: 2.055 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.0008717/0.009043, allocations: 464.9 kB / 323.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.009098, allocations: 12.92 kB / 323.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.818e-05/0.009166, allocations: 62.66 kB / 323.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.009238, allocations: 32.8 kB / 323.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.009614, allocations: 189.3 kB / 323.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.009637, allocations: 16.88 kB / 323.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.009682, allocations: 20.38 kB / 323.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.01012, allocations: 240.1 kB / 323.7 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.01013, allocations: 192 / 323.7 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.01016, allocations: 12.12 kB / 323.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.01017, allocations: 7.984 kB / 323.7 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.01052, allocations: 153.9 kB / 323.9 MB, free: 0.793 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.001432/0.01195, allocations: 0.6642 MB / 324.6 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.01231, allocations: 146.5 kB / 324.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.01253, allocations: 80.83 kB / 324.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.01255, allocations: 4.312 kB / 324.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.01258, allocations: 34.56 kB / 324.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.01258, allocations: 0 / 324.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001144/0.01372, allocations: 344.5 kB / 325.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.01377, allocations: 55.41 kB / 325.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.01395, allocations: 174.8 kB / 325.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.01398, allocations: 33.64 kB / 325.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01408, allocations: 152.3 kB / 325.6 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.01413, allocations: 59.48 kB / 325.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.01421, allocations: 37.7 kB / 325.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01434, allocations: 330.8 kB / 326 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.01448, allocations: 43.98 kB / 326 MB, free: 14.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.01461, allocations: 76.62 kB / 326.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.01487, allocations: 129.6 kB / 326.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.01487, allocations: 4 kB / 326.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004322/0.0153, allocations: 214.3 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.01533, allocations: 4 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01534, allocations: 0 / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.01644, allocations: 220.6 kB / 326.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.01658, allocations: 39.86 kB / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005865/0.01717, allocations: 0.6109 MB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.01731, allocations: 15.91 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.01733, allocations: 8.078 kB / 327.3 MB, free: 13.17 MB / 298.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 0.0001634/0.01749, allocations: 129.8 kB / 327.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.01753, allocations: 19.84 kB / 327.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.01789, allocations: 230.9 kB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.01789, allocations: 7.984 kB / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.0179, allocations: 0 / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.0179, allocations: 0 / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007303/0.01863, allocations: 0.5381 MB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.01863, allocations: 0 / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.01876, allocations: 23.98 kB / 328.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000804/0.01957, allocations: 208.6 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.01959, allocations: 11.94 kB / 328.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000433/0.02002, allocations: 0.6264 MB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.02002, allocations: 0 / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.02073, allocations: 420.8 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.02077, allocations: 28.09 kB / 329.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.0208, allocations: 7.875 kB / 329.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.02092, allocations: 8 kB / 329.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.02097, allocations: 11.97 kB / 329.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.02098, allocations: 8 kB / 329.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.02109, allocations: 144.3 kB / 329.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02109, allocations: 0 / 329.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003519/0.02144, allocations: 55.89 kB / 329.8 MB, free: 10.6 MB / 298.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.001031/0.02248, allocations: 0.9559 MB / 330.7 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.02285, allocations: 142.8 kB / 330.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02285, allocations: 0 / 330.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.02302, allocations: 86.58 kB / 331 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.02339, allocations: 31.86 kB / 331 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.02623, allocations: 2.255 MB / 333.2 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.02635, allocations: 129.9 kB / 333.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.958e-05/0.02642, allocations: 9.484 kB / 333.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.0265, allocations: 60.48 kB / 333.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0265, allocations: 0 / 333.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.04666, allocations: 5.215 MB / 338.7 MB, free: 1.734 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.782, allocations: 4.062 kB / 338.7 MB, free: 1.73 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.42998581379652] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 7.874081791378558 7.881720793 7.871544111 Calling exit ...