Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.0008665/0.0008665, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004281/0.004281, allocations: 164.6 kB / 24.69 MB, free: 9.43 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.9164/0.9164, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.64e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.1415/0.1416, allocations: 4.207 MB / 302.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1435, allocations: 1.228 MB / 303.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.1437, allocations: 13 kB / 303.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.144, allocations: 117.5 kB / 304 MB, free: 13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.1443, allocations: 267.8 kB / 304.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.1449, allocations: 309.1 kB / 304.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000773/0.1457, allocations: 1.086 MB / 305.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.146, allocations: 176.1 kB / 305.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007985/0.1468, allocations: 0.5918 MB / 306.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005098/0.1473, allocations: 351.9 kB / 306.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.1474, allocations: 89.06 kB / 306.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.1476, allocations: 112.9 kB / 307 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1477, allocations: 203.4 kB / 307.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.148, allocations: 311.1 kB / 307.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.1492, allocations: 1.046 MB / 308.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1492, allocations: 1.438 kB / 308.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1492, allocations: 0 / 308.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.1492, allocations: 0 / 308.5 MB, free: 11.16 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001665/0.1509, allocations: 1.151 MB / 309.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1509, allocations: 15.02 kB / 309.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.503e-05/0.151, allocations: 110.1 kB / 309.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.1511, allocations: 95.64 kB / 309.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.1516, allocations: 406.5 kB / 310.3 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.1517, allocations: 52.17 kB / 310.3 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/0.1517, allocations: 60.06 kB / 310.4 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000955/0.1527, allocations: 0.7622 MB / 311.2 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1527, allocations: 192 / 311.2 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.1527, allocations: 25.97 kB / 311.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.1528, allocations: 15.25 kB / 311.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1539, allocations: 0.6744 MB / 311.9 MB, free: 9.297 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.00229/0.1562, allocations: 1.832 MB / 313.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008989/0.1571, allocations: 0.5526 MB / 314.3 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/0.1575, allocations: 308.3 kB / 314.6 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.1575, allocations: 8.938 kB / 314.6 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006311/0.1582, allocations: 0.5389 MB / 315.1 MB, free: 7.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 2.054e-06/0.1582, allocations: 1.469 kB / 315.1 MB, free: 7.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=94): time 0.03272/0.1909, allocations: 15.24 MB / 330.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.191, allocations: 145.5 kB / 330.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.1915, allocations: 0.4949 MB / 331 MB, free: 13.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.1917, allocations: 49.7 kB / 331 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.1919, allocations: 368.8 kB / 331.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.1922, allocations: 333.1 kB / 331.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.1924, allocations: 178.6 kB / 331.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1926, allocations: 382.8 kB / 332.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.1938, allocations: 0.7743 MB / 333 MB, free: 11.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.1951, allocations: 1.052 MB / 334.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.1974, allocations: 1.666 MB / 335.8 MB, free: 8.887 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.1974, allocations: 0 / 335.8 MB, free: 8.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01098/0.2084, allocations: 5.378 MB / 341.1 MB, free: 3.465 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/0.2084, allocations: 67.39 kB / 341.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.2084, allocations: 7.938 kB / 341.2 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01549/0.2239, allocations: 6.84 MB / 348.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.2243, allocations: 139.7 kB / 348.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/0.2282, allocations: 3.169 MB / 351.4 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009136/0.2291, allocations: 179.8 kB / 351.5 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/0.2292, allocations: 47.97 kB / 351.6 MB, free: 8.938 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0003326/0.2295, allocations: 209.7 kB / 351.8 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2296, allocations: 90.97 kB / 351.9 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/0.2403, allocations: 5.062 MB / 356.9 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.2403, allocations: 14.67 kB / 357 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.2403, allocations: 7.984 kB / 357 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/0.2403, allocations: 3.984 kB / 357 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.2417, allocations: 0.8358 MB / 357.8 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.2417, allocations: 0 / 357.8 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.242, allocations: 87.83 kB / 357.9 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01547/0.2575, allocations: 6.789 MB / 364.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/0.2576, allocations: 27.92 kB / 364.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/0.2612, allocations: 3.048 MB / 367.8 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.2612, allocations: 4.812 kB / 367.8 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/0.2732, allocations: 5.949 MB / 373.7 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.2734, allocations: 71.5 kB / 373.8 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.2735, allocations: 20 kB / 373.8 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/0.2742, allocations: 167.8 kB / 374 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.2744, allocations: 100.8 kB / 374.1 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/0.2744, allocations: 39.84 kB / 374.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.2747, allocations: 338.9 kB / 374.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2747, allocations: 0 / 374.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005902/0.2753, allocations: 255.9 kB / 374.7 MB, free: 1.676 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01247/0.2878, allocations: 6.521 MB / 381.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003691/0.2915, allocations: 2.148 MB / 383.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2915, allocations: 4 kB / 383.4 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.2932, allocations: 1.022 MB / 384.4 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.2938, allocations: 133.7 kB / 384.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02805/0.3219, allocations: 15.9 MB / 400.4 MB, free: 7.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.3221, allocations: 344.8 kB / 400.7 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002851/0.3224, allocations: 54.06 kB / 400.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.3227, allocations: 268.4 kB / 401.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3227, allocations: 0 / 401.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04396/0.3666, allocations: 26.63 MB / 427.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/8.663, allocations: 3.953 kB / 427.7 MB, free: 12.11 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396668 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.300081358291209] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 8.766816140152514 8.775912348 8.624824106 Calling exit ...