Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001707/0.001708, allocations: 169.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.537/1.537, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001584/0.001584, allocations: 106.8 kB / 223.2 MB, free: 4.105 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.662e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07805/0.07809, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2861/0.3642, allocations: 71.51 MB / 379.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.3645, allocations: 68.53 kB / 379.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04312/0.4077, allocations: 13.99 MB / 393.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4077, allocations: 0 / 393.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.247e-05/0.4078, allocations: 16 kB / 393.2 MB, free: 8.512 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003665/0.4114, allocations: 1.325 MB / 394.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.4115, allocations: 12.02 kB / 394.6 MB, free: 7.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.4117, allocations: 90.97 kB / 394.6 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.413, allocations: 0.5746 MB / 395.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.413, allocations: 48.06 kB / 395.3 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.4131, allocations: 64.06 kB / 395.3 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.4142, allocations: 0.6159 MB / 395.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4142, allocations: 4 kB / 395.9 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-05/0.4143, allocations: 27.81 kB / 396 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4143, allocations: 16 kB / 396 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.4154, allocations: 0.6305 MB / 396.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005457/0.4208, allocations: 2.361 MB / 399 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.4222, allocations: 0.5072 MB / 399.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/0.4228, allocations: 304.5 kB / 399.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.4229, allocations: 8.125 kB / 399.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009788/0.4239, allocations: 398 kB / 400.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 4.188e-06/0.4239, allocations: 3.938 kB / 400.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=94): time 0.06571/0.4896, allocations: 10.57 MB / 410.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.4898, allocations: 137.3 kB / 410.9 MB, free: 9.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009408/0.4908, allocations: 449 kB / 411.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003022/0.4911, allocations: 51.08 kB / 411.4 MB, free: 9.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.4915, allocations: 371.6 kB / 411.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000529/0.492, allocations: 323.3 kB / 412.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.4922, allocations: 17.75 kB / 412.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002596/0.4925, allocations: 389.1 kB / 412.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.4941, allocations: 0.5483 MB / 413 MB, free: 8.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.4958, allocations: 0.7492 MB / 413.8 MB, free: 7.473 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.4974, allocations: 0.6229 MB / 414.4 MB, free: 7.082 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.4974, allocations: 0 / 414.4 MB, free: 7.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.03794/0.5354, allocations: 6.203 MB / 420.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.5355, allocations: 71.34 kB / 420.7 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.5355, allocations: 8 kB / 420.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04137/0.5769, allocations: 6.088 MB / 426.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.5782, allocations: 183.7 kB / 426.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008129/0.5864, allocations: 2.927 MB / 429.9 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/0.5897, allocations: 299.6 kB / 430.1 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/0.59, allocations: 47.97 kB / 430.2 MB, free: 7.215 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 ($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.0005022/0.5905, allocations: 160.8 kB / 430.3 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.5908, allocations: 75.06 kB / 430.4 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03186/0.6227, allocations: 4.763 MB / 435.2 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.283e-05/0.6228, allocations: 8 kB / 435.2 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.6229, allocations: 4 kB / 435.2 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.802e-05/0.6229, allocations: 12 kB / 435.2 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003864/0.6268, allocations: 1.265 MB / 436.5 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.208e-05/0.6269, allocations: 0 / 436.5 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/0.6278, allocations: 123.9 kB / 436.6 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03933/0.6672, allocations: 6.041 MB / 442.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003675/0.6676, allocations: 35.91 kB / 442.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03633/0.704, allocations: 8.693 MB / 451.4 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.704, allocations: 0 / 451.4 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03318/0.7372, allocations: 5.478 MB / 456.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/0.7377, allocations: 144.2 kB / 457 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/0.7382, allocations: 20.31 kB / 457 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002883/0.7411, allocations: 291.6 kB / 457.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007537/0.7419, allocations: 140.6 kB / 457.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/0.7422, allocations: 27.98 kB / 457.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007329/0.7429, allocations: 345.5 kB / 457.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7429, allocations: 0 / 457.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001819/0.7448, allocations: 328 kB / 458.1 MB, free: 10.98 MB / 346.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.0004449/0.7452, allocations: 139.2 kB / 458.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006258/0.7515, allocations: 1.677 MB / 459.9 MB, free: 9.125 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.7515, allocations: 3.938 kB / 459.9 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006184/0.7577, allocations: 1.288 MB / 461.2 MB, free: 7.824 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.7589, allocations: 107.6 kB / 461.3 MB, free: 7.723 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009128/0.768, allocations: 1.9 MB / 463.2 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008177/0.7689, allocations: 0.9666 MB / 464.2 MB, free: 4.797 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006061/0.7695, allocations: 62.22 kB / 464.2 MB, free: 4.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.7698, allocations: 35.42 kB / 464.3 MB, free: 4.699 MB / 346.7 MB Notification: Performance of SimCode: time 1.734e-06/0.7698, allocations: 0 / 464.3 MB, free: 4.699 MB / 346.7 MB Notification: Performance of Templates: time 0.2827/1.053, allocations: 29.16 MB / 493.4 MB, free: 106.2 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1)