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.0009845/0.0009845, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001001/0.001001, allocations: 165.1 kB / 25.33 MB, free: 9.207 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.9183/0.9183, allocations: 158.6 MB / 187.2 MB, free: 2.914 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: 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 1.743e-06/1.743e-06, allocations: 0 / 251.1 MB, free: 7.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.852e-05, allocations: 2.312 kB / 251.1 MB, free: 7.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.00399/0.004008, allocations: 4.62 MB / 255.7 MB, free: 2.719 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.006142, allocations: 1.26 MB / 256.9 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004392/0.006581, allocations: 12 kB / 257 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.006833, allocations: 114.8 kB / 257.1 MB, free: 1.32 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.007209, allocations: 269.5 kB / 257.3 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.007848, allocations: 303.4 kB / 257.6 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008336/0.008681, allocations: 1.087 MB / 258.7 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.008938, allocations: 174.8 kB / 258.9 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005342/0.009472, allocations: 0.5847 MB / 259.5 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.009814, allocations: 378.9 kB / 259.8 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.009914, allocations: 99.98 kB / 259.9 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.01009, allocations: 120 kB / 260.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.01021, allocations: 211.2 kB / 260.3 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.01043, allocations: 319.3 kB / 260.6 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005851/0.01101, allocations: 0.7319 MB / 261.3 MB, free: 13.05 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.01102, allocations: 0 / 261.3 MB, free: 13.05 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01102, allocations: 0 / 261.3 MB, free: 13.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.01103, allocations: 0 / 261.3 MB, free: 13.05 MB / 250.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.001409/0.01244, allocations: 1.247 MB / 262.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.01247, allocations: 11.98 kB / 262.6 MB, free: 11.74 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.01264, allocations: 140.4 kB / 262.7 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.01304, allocations: 418 kB / 263.1 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.01307, allocations: 45.69 kB / 263.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.01315, allocations: 64.38 kB / 263.2 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.01384, allocations: 0.6211 MB / 263.8 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01386, allocations: 192 / 263.8 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.0139, allocations: 28.38 kB / 263.9 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.01392, allocations: 19.88 kB / 263.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.01443, allocations: 355.6 kB / 264.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.0166, allocations: 1.863 MB / 266.1 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.01713, allocations: 362.5 kB / 266.4 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.01737, allocations: 197.5 kB / 266.6 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.01741, allocations: 24.58 kB / 266.7 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.01785, allocations: 494.4 kB / 267.1 MB, free: 6.938 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.583e-06/0.01785, allocations: 4 kB / 267.1 MB, free: 6.934 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.003365/0.02122, allocations: 1.938 MB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.02128, allocations: 141.2 kB / 269.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.02158, allocations: 470.7 kB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.02162, allocations: 41.7 kB / 269.7 MB, free: 4.254 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.0218, allocations: 367.6 kB / 270.1 MB, free: 3.887 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.02194, allocations: 249.9 kB / 270.3 MB, free: 3.641 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.02208, allocations: 128.3 kB / 270.5 MB, free: 3.504 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.02223, allocations: 0.5507 MB / 271 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.02247, allocations: 197.3 kB / 271.2 MB, free: 2.738 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.02279, allocations: 423.3 kB / 271.6 MB, free: 2.246 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007479/0.02354, allocations: 0.7123 MB / 272.3 MB, free: 1.473 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.02354, allocations: 0 / 272.3 MB, free: 1.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001209/0.02475, allocations: 0.9434 MB / 273.3 MB, free: 496 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.02479, allocations: 63.41 kB / 273.3 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.0248, allocations: 4 kB / 273.3 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/0.02771, allocations: 1.052 MB / 274.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.02797, allocations: 119.8 kB / 274.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.02998, allocations: 3.946 MB / 278.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.03023, allocations: 47.97 kB / 278.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.03027, allocations: 31.98 kB / 278.5 MB, free: 11.01 MB / 266.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.0002018/0.03047, allocations: 201 kB / 278.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.03056, allocations: 83.62 kB / 278.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.03162, allocations: 0.7949 MB / 279.6 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.03162, allocations: 4 kB / 279.6 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.03162, allocations: 4 kB / 279.6 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.03163, allocations: 7.984 kB / 279.6 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.03204, allocations: 468.8 kB / 280.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.03205, allocations: 0 / 280.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.03226, allocations: 79.88 kB / 280.2 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/0.03492, allocations: 1.033 MB / 281.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.03497, allocations: 27.97 kB / 281.2 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.03707, allocations: 3.969 MB / 285.2 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.03707, allocations: 0 / 285.2 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.03858, allocations: 0.9698 MB / 286.1 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.03863, allocations: 51.62 kB / 286.2 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.03868, allocations: 23.98 kB / 286.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.03891, allocations: 39.97 kB / 286.3 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.03904, allocations: 72.53 kB / 286.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.03908, allocations: 27.97 kB / 286.4 MB, free: 2.875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.03927, allocations: 314.8 kB / 286.7 MB, free: 2.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03927, allocations: 0 / 286.7 MB, free: 2.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.03962, allocations: 200 kB / 286.9 MB, free: 2.375 MB / 266.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.000175/0.03979, allocations: 131.1 kB / 287 MB, free: 2.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009757/0.04077, allocations: 0.8882 MB / 287.9 MB, free: 1.297 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.04077, allocations: 0 / 287.9 MB, free: 1.297 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.04131, allocations: 0.522 MB / 288.4 MB, free: 0.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.04168, allocations: 141.8 kB / 288.5 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.04361, allocations: 1.291 MB / 289.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.04373, allocations: 143.1 kB / 290 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.04391, allocations: 60.7 kB / 290 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.04402, allocations: 44.48 kB / 290.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.04402, allocations: 4 kB / 290.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of Templates: time 0.01495/0.05897, allocations: 13.06 MB / 303.1 MB, free: 1.961 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 -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.049198865890503]