Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.001195/0.001195, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001632/0.001632, allocations: 161.2 kB / 25.6 MB, free: 8.895 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 1.003/1.003, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.024e-05, allocations: 2.312 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004464/0.004485, allocations: 4.538 MB / 256 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.006912, allocations: 1.252 MB / 257.3 MB, free: 1.41 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.007224, allocations: 15.94 kB / 257.3 MB, free: 1.395 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.007463, allocations: 114.8 kB / 257.4 MB, free: 1.281 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.007825, allocations: 257.6 kB / 257.7 MB, free: 1.027 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.008387, allocations: 315.3 kB / 258 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008283/0.009215, allocations: 1.079 MB / 259 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.009469, allocations: 174.8 kB / 259.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000496/0.009965, allocations: 0.5847 MB / 259.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.01031, allocations: 378.9 kB / 260.2 MB, free: 14.49 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.01041, allocations: 92 kB / 260.3 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.01058, allocations: 124 kB / 260.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.01071, allocations: 215.3 kB / 260.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.01093, allocations: 327.2 kB / 260.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.01152, allocations: 0.7319 MB / 261.6 MB, free: 13.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01152, allocations: 0 / 261.6 MB, free: 13.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01152, allocations: 0 / 261.6 MB, free: 13.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.01153, allocations: 0 / 261.6 MB, free: 13.01 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.001442/0.01297, allocations: 1.251 MB / 262.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.01303, allocations: 11.98 kB / 262.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.01323, allocations: 144.4 kB / 263 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.01366, allocations: 402 kB / 263.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.01369, allocations: 49.69 kB / 263.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.01377, allocations: 72.34 kB / 263.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003943/0.01771, allocations: 0.5703 MB / 264.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.01773, allocations: 4.188 kB / 264.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.01778, allocations: 24.38 kB / 264.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.01779, allocations: 19.94 kB / 264.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/0.01839, allocations: 286.1 kB / 264.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.02088, allocations: 1.797 MB / 266.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.02139, allocations: 334.4 kB / 266.6 MB, free: 7.879 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.02157, allocations: 165.5 kB / 266.7 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.02162, allocations: 20.64 kB / 266.8 MB, free: 7.695 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004371/0.02206, allocations: 470.3 kB / 267.2 MB, free: 7.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.984e-06/0.02206, allocations: 0 / 267.2 MB, free: 7.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.005097/0.02716, allocations: 1.701 MB / 268.9 MB, free: 5.422 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.02725, allocations: 145.2 kB / 269.1 MB, free: 5.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.02775, allocations: 462.4 kB / 269.5 MB, free: 4.781 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.02782, allocations: 37.7 kB / 269.5 MB, free: 4.738 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.02812, allocations: 379.5 kB / 269.9 MB, free: 4.359 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.02835, allocations: 245.9 kB / 270.2 MB, free: 4.117 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.02858, allocations: 132.2 kB / 270.3 MB, free: 3.977 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.02882, allocations: 0.5467 MB / 270.8 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.02911, allocations: 169.3 kB / 271 MB, free: 3.242 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.02952, allocations: 403.1 kB / 271.4 MB, free: 2.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009247/0.03045, allocations: 0.6185 MB / 272 MB, free: 2.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.03045, allocations: 0 / 272 MB, free: 2.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001746/0.0322, allocations: 0.8536 MB / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/0.03227, allocations: 67.39 kB / 272.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.03228, allocations: 0 / 272.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004287/0.03656, allocations: 1.045 MB / 274 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.03702, allocations: 108 kB / 274.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/0.04068, allocations: 4.172 MB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.04113, allocations: 51.97 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.04117, allocations: 23.92 kB / 278.3 MB, free: 11.53 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: C1.v:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real C2.v:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real C3.v:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" 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.0003528/0.04153, allocations: 208.6 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.04163, allocations: 87.56 kB / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.04269, allocations: 0.7128 MB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.0427, allocations: 8.094 kB / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.04271, allocations: 7.984 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.04272, allocations: 3.984 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.04321, allocations: 389.5 kB / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.04322, allocations: 0 / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.04343, allocations: 79.88 kB / 279.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002713/0.04614, allocations: 1.033 MB / 280.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-05/0.0462, allocations: 19.98 kB / 280.9 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.04897, allocations: 4.186 MB / 285 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.04897, allocations: 0 / 285 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.05024, allocations: 0.8643 MB / 285.9 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.05036, allocations: 63.5 kB / 286 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.069e-05/0.05043, allocations: 16 kB / 286 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.05067, allocations: 39.97 kB / 286 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.05084, allocations: 76.52 kB / 286.1 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.05088, allocations: 15.98 kB / 286.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002164/0.05109, allocations: 294.7 kB / 286.4 MB, free: 3.168 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-07/0.05109, allocations: 0 / 286.4 MB, free: 3.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000614/0.05171, allocations: 215.9 kB / 286.6 MB, free: 2.957 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,C1.v,C2.v,C3.v) * 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.0007519/0.05246, allocations: 134.8 kB / 286.7 MB, free: 2.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.05369, allocations: 0.8376 MB / 287.6 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.05369, allocations: 0 / 287.6 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.05432, allocations: 0.4983 MB / 288.1 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.05478, allocations: 137.9 kB / 288.2 MB, free: 1.273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.05681, allocations: 1.278 MB / 289.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.05692, allocations: 147 kB / 289.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.05711, allocations: 60.7 kB / 289.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.05741, allocations: 222 kB / 289.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of SimCode: time 1.794e-06/0.05741, allocations: 0 / 289.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of Templates: time 0.01823/0.07564, allocations: 13.25 MB / 303.2 MB, free: 2.285 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.382518026046455]