Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001252/0.001251, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.484/1.484, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001566/0.001566, allocations: 124.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.69e-05, allocations: 12 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08764/0.08769, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3283/0.416, allocations: 76.65 MB / 426.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.4163, allocations: 71.14 kB / 426.2 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03845/0.4548, allocations: 13.92 MB / 440.1 MB, free: 5.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4548, allocations: 0 / 440.1 MB, free: 5.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.7e-05/0.4549, allocations: 14.97 kB / 440.1 MB, free: 5.371 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003101/0.458, allocations: 1.324 MB / 441.4 MB, free: 4.043 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.458, allocations: 15.97 kB / 441.4 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.4582, allocations: 90.92 kB / 441.5 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4593, allocations: 0.5745 MB / 442.1 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.4593, allocations: 47.56 kB / 442.1 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4595, allocations: 65.16 kB / 442.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009414/0.4604, allocations: 0.6136 MB / 442.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4604, allocations: 4 kB / 442.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.4605, allocations: 32.48 kB / 442.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4605, allocations: 16 kB / 442.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009324/0.4615, allocations: 0.626 MB / 443.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.4648, allocations: 2.341 MB / 445.8 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000741/0.4655, allocations: 0.5005 MB / 446.3 MB, free: 380 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.4659, allocations: 298.3 kB / 446.6 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.466, allocations: 16.09 kB / 446.6 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006087/0.4666, allocations: 390.6 kB / 447 MB, free: 15.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 2.294e-06/0.4666, allocations: 3.938 kB / 447 MB, free: 15.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.04543/0.512, allocations: 10.52 MB / 457.6 MB, free: 6.785 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/0.5122, allocations: 141.3 kB / 457.7 MB, free: 6.613 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006117/0.5128, allocations: 452.9 kB / 458.1 MB, free: 6.258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000195/0.513, allocations: 43.7 kB / 458.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.5133, allocations: 376.5 kB / 458.5 MB, free: 5.949 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.5136, allocations: 308 kB / 458.9 MB, free: 5.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-05/0.5137, allocations: 19.75 kB / 458.9 MB, free: 5.688 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5138, allocations: 389.1 kB / 459.2 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009136/0.5147, allocations: 0.546 MB / 459.8 MB, free: 5.031 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.5159, allocations: 0.7642 MB / 460.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.5169, allocations: 0.6155 MB / 461.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.5169, allocations: 4 kB / 461.2 MB, free: 4.062 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02639/0.5433, allocations: 6.175 MB / 467.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.5435, allocations: 67.28 kB / 467.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.5435, allocations: 8 kB / 467.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02832/0.5718, allocations: 6.065 MB / 473.5 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007883/0.5727, allocations: 185.5 kB / 473.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005153/0.5778, allocations: 2.907 MB / 476.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.5799, allocations: 291.8 kB / 476.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.5801, allocations: 47.97 kB / 476.9 MB, free: 5.641 MB / 330.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 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.00032/0.5804, allocations: 161.3 kB / 477.1 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.5806, allocations: 75.06 kB / 477.1 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02119/0.6018, allocations: 4.742 MB / 481.9 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.6019, allocations: 15.98 kB / 481.9 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.6019, allocations: 0 / 481.9 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/0.602, allocations: 3.984 kB / 481.9 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.604, allocations: 1.272 MB / 483.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6041, allocations: 0 / 483.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.6047, allocations: 127.9 kB / 483.3 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0285/0.6332, allocations: 6.029 MB / 489.3 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/0.6335, allocations: 27.97 kB / 489.4 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02317/0.6566, allocations: 8.634 MB / 498 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.6567, allocations: 4 kB / 498 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02147/0.6782, allocations: 5.466 MB / 0.4917 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.6787, allocations: 280 kB / 0.4919 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.6789, allocations: 23.95 kB / 0.492 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/0.6807, allocations: 279.8 kB / 0.4922 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004735/0.6811, allocations: 144.5 kB / 0.4924 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.6813, allocations: 31.97 kB / 0.4924 GB, free: 10.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004097/0.6817, allocations: 337.6 kB / 0.4927 GB, free: 9.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6817, allocations: 0 / 0.4927 GB, free: 9.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009328/0.6826, allocations: 331.9 kB / 0.493 GB, free: 9.414 MB / 362.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002858/0.6829, allocations: 135.9 kB / 0.4932 GB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.6867, allocations: 1.668 MB / 0.4948 GB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6867, allocations: 0 / 0.4948 GB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003878/0.6906, allocations: 1.282 MB / 0.496 GB, free: 6.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/0.6914, allocations: 123.3 kB / 0.4962 GB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/0.6971, allocations: 1.888 MB / 0.498 GB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.6976, allocations: 0.9627 MB / 0.4989 GB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.6979, allocations: 58.23 kB / 0.499 GB, free: 3.207 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.6981, allocations: 43.36 kB / 0.499 GB, free: 3.164 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6981, allocations: 0 / 0.499 GB, free: 3.164 MB / 362.7 MB Notification: Performance of Templates: time 0.04606/0.7442, allocations: 29.02 MB / 0.5274 GB, free: 6.113 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1)