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.0008978/0.0008978, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.002164, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007175/0.0007175, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000919/0.001637, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8769/0.8769, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1676/1.045, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.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: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 222 MB, free: 40 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.76e-05/3.984e-05, allocations: 5.406 kB / 222 MB, free: 36 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.007892/0.007932, allocations: 4.612 MB / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.01156, allocations: 1.303 MB / 227.9 MB, free: 10.07 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007055/0.01226, allocations: 15.88 kB / 227.9 MB, free: 10.06 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.01256, allocations: 114.9 kB / 228.1 MB, free: 9.945 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007227/0.01329, allocations: 265.5 kB / 228.3 MB, free: 9.684 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.01431, allocations: 303.4 kB / 228.6 MB, free: 9.387 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.01574, allocations: 1.079 MB / 229.7 MB, free: 8.305 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.01602, allocations: 184.8 kB / 229.9 MB, free: 8.109 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007786/0.0168, allocations: 0.6733 MB / 230.5 MB, free: 7.43 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.01719, allocations: 375 kB / 230.9 MB, free: 7.062 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.01731, allocations: 92 kB / 231 MB, free: 6.973 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.01753, allocations: 123.9 kB / 231.1 MB, free: 6.852 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.01763, allocations: 151.5 kB / 231.3 MB, free: 6.703 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.01785, allocations: 255.6 kB / 231.5 MB, free: 6.453 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.01846, allocations: 0.6384 MB / 232.2 MB, free: 5.812 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.671e-05/0.01848, allocations: 0 / 232.2 MB, free: 5.812 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01848, allocations: 7.938 kB / 232.2 MB, free: 5.805 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.0185, allocations: 0 / 232.2 MB, free: 5.805 MB / 234.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.001384/0.01988, allocations: 1.29 MB / 233.5 MB, free: 4.473 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.01992, allocations: 8.031 kB / 233.5 MB, free: 4.465 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.02005, allocations: 108.8 kB / 233.6 MB, free: 4.359 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.02041, allocations: 311.4 kB / 233.9 MB, free: 4.027 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.02044, allocations: 49.62 kB / 233.9 MB, free: 3.98 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/0.02052, allocations: 68.36 kB / 234 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.02107, allocations: 0.582 MB / 234.6 MB, free: 3.289 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.02109, allocations: 4.188 kB / 234.6 MB, free: 3.285 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.02112, allocations: 24.38 kB / 234.6 MB, free: 3.262 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.02114, allocations: 19.94 kB / 234.6 MB, free: 3.242 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.02144, allocations: 238.2 kB / 234.9 MB, free: 3.008 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.02319, allocations: 1.444 MB / 236.3 MB, free: 1.512 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.02355, allocations: 301.7 kB / 236.6 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.0237, allocations: 150.6 kB / 236.7 MB, free: 1.055 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.02374, allocations: 20.64 kB / 236.8 MB, free: 1.035 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003438/0.02408, allocations: 461.2 kB / 237.2 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of pre-optimization done (n=67): time 1.483e-06/0.02408, allocations: 0 / 237.2 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of matching and sorting (n=69): time 0.003884/0.02797, allocations: 2.095 MB / 239.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.02801, allocations: 64.06 kB / 239.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.02824, allocations: 399.3 kB / 239.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.02827, allocations: 37.7 kB / 239.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.02838, allocations: 274.1 kB / 240.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.02856, allocations: 241.9 kB / 240.3 MB, free: 13.35 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.02868, allocations: 126.6 kB / 240.4 MB, free: 13.22 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.02878, allocations: 378.6 kB / 240.8 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.02892, allocations: 145.4 kB / 240.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.02913, allocations: 349.3 kB / 241.3 MB, free: 12.28 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.02961, allocations: 0.5855 MB / 241.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.02961, allocations: 0 / 241.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009622/0.03058, allocations: 0.7127 MB / 242.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.03062, allocations: 63.41 kB / 242.6 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.03062, allocations: 0 / 242.6 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.03305, allocations: 1.001 MB / 243.6 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.03334, allocations: 135.8 kB / 243.8 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.03512, allocations: 2.717 MB / 246.5 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.03534, allocations: 40.08 kB / 246.5 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.03538, allocations: 27.92 kB / 246.6 MB, free: 6.742 MB / 250.7 MB Warning: Assuming fixed start value for the following 3 variables: C2.v:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real T1.vbc:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Base-collector voltage\" type: Real T2.vbc:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Base-collector voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.V2.signalSource.count,$PRE.V2.signalSource.T_start,$PRE.V1.signalSource.count,$PRE.V1.signalSource.T_start,V2.signalSource.count,V2.signalSource.T_start,V1.signalSource.count,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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.03556, allocations: 158.3 kB / 246.7 MB, free: 6.578 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.03563, allocations: 63.94 kB / 246.8 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007524/0.03638, allocations: 0.5952 MB / 247.4 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-06/0.03639, allocations: 11.94 kB / 247.4 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.03639, allocations: 0 / 247.4 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.0364, allocations: 3.984 kB / 247.4 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.03672, allocations: 358.2 kB / 247.7 MB, free: 5.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.03673, allocations: 0 / 247.7 MB, free: 5.512 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.03697, allocations: 103.8 kB / 247.8 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.03701, allocations: 55.52 kB / 247.9 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/0.03926, allocations: 0.9858 MB / 248.9 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.03929, allocations: 19.98 kB / 248.9 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.04073, allocations: 2.726 MB / 251.6 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.04073, allocations: 4 kB / 251.6 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.0416, allocations: 0.7127 MB / 252.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.04165, allocations: 27.92 kB / 252.4 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.04185, allocations: 35.97 kB / 252.4 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.04196, allocations: 72.53 kB / 252.5 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.04198, allocations: 24.08 kB / 252.5 MB, free: 0.582 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003672/0.04235, allocations: 180.3 kB / 252.7 MB, free: 416 kB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.04235, allocations: 0 / 252.7 MB, free: 416 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.04266, allocations: 200 kB / 252.9 MB, free: 216 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (HeatCapacitor1.T,C2.v,T1.vbc,T2.vbc) * 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 (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,12), (1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001604/0.04282, allocations: 120.3 kB / 253 MB, free: 84 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007286/0.04355, allocations: 0.7587 MB / 253.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/0.04357, allocations: 8 kB / 253.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.044, allocations: 449.3 kB / 254.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.04462, allocations: 1.227 MB / 255.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.04857, allocations: 1.236 MB / 256.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.04868, allocations: 151.1 kB / 256.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.04882, allocations: 56.88 kB / 256.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.04911, allocations: 197.2 kB / 257 MB, free: 11.66 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.04911, allocations: 4 kB / 257 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Templates: time 0.01872/0.06783, allocations: 13.82 MB / 270.9 MB, free: 13.84 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.097166245803237]