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.001039/0.001039, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001516/0.001516, allocations: 165.5 kB / 25.33 MB, free: 8.594 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.9793/0.9793, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.262e-06/1.262e-06, allocations: 0 / 251.1 MB, free: 7.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.757e-05, allocations: 6.25 kB / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004461/0.004488, allocations: 4.616 MB / 255.7 MB, free: 2.852 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.0066, allocations: 1.249 MB / 256.9 MB, free: 1.594 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.006978, allocations: 15.94 kB / 256.9 MB, free: 1.578 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.007263, allocations: 110.8 kB / 257 MB, free: 1.469 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003941/0.007658, allocations: 265.6 kB / 257.3 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.008391, allocations: 307.3 kB / 257.6 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.009446, allocations: 1.079 MB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.009727, allocations: 178.8 kB / 258.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.01037, allocations: 0.5886 MB / 259.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.01074, allocations: 375 kB / 259.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.01085, allocations: 92 kB / 259.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.01103, allocations: 128 kB / 260 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.01115, allocations: 215.2 kB / 260.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.01139, allocations: 319.3 kB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006566/0.01205, allocations: 0.7318 MB / 261.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.01205, allocations: 0 / 261.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01205, allocations: 0 / 261.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.01206, allocations: 0 / 261.3 MB, free: 13.2 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.001591/0.01365, allocations: 1.243 MB / 262.5 MB, free: 11.9 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.0137, allocations: 11.98 kB / 262.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.0142, allocations: 152.3 kB / 262.7 MB, free: 11.74 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.01464, allocations: 414 kB / 263.1 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.01467, allocations: 45.69 kB / 263.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/0.01476, allocations: 68.38 kB / 263.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.01548, allocations: 0.6211 MB / 263.8 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.0155, allocations: 192 / 263.8 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.01554, allocations: 28.36 kB / 263.9 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.01556, allocations: 19.94 kB / 263.9 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.0161, allocations: 359.5 kB / 264.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.01836, allocations: 1.866 MB / 266.1 MB, free: 8.207 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.01893, allocations: 362.5 kB / 266.4 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.01918, allocations: 197.5 kB / 266.6 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.51e-05/0.01923, allocations: 20.58 kB / 266.7 MB, free: 7.621 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/0.01973, allocations: 494.5 kB / 267.1 MB, free: 7.074 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.854e-06/0.01973, allocations: 4 kB / 267.1 MB, free: 7.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.003637/0.02336, allocations: 1.938 MB / 269.1 MB, free: 5.082 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.02343, allocations: 137.2 kB / 269.2 MB, free: 4.918 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.0238, allocations: 470.7 kB / 269.7 MB, free: 4.441 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003302/0.02413, allocations: 37.7 kB / 269.7 MB, free: 4.398 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.02432, allocations: 375.6 kB / 270.1 MB, free: 4.023 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.02446, allocations: 249.9 kB / 270.3 MB, free: 3.777 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.02461, allocations: 128.3 kB / 270.4 MB, free: 3.641 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.02478, allocations: 0.5469 MB / 271 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.02505, allocations: 197.3 kB / 271.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.0254, allocations: 431.2 kB / 271.6 MB, free: 2.379 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.02621, allocations: 0.7084 MB / 272.3 MB, free: 1.609 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02621, allocations: 0 / 272.3 MB, free: 1.609 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001285/0.0275, allocations: 0.9356 MB / 273.3 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.02755, allocations: 67.39 kB / 273.3 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.02756, allocations: 4 kB / 273.3 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003025/0.03059, allocations: 1.052 MB / 274.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.03087, allocations: 111.8 kB / 274.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/0.03389, allocations: 4.226 MB / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.03417, allocations: 47.97 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.03421, allocations: 31.98 kB / 278.8 MB, free: 10.88 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.0002386/0.03445, allocations: 204.6 kB / 279 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.03454, allocations: 87.62 kB / 279.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.03565, allocations: 0.791 MB / 279.9 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.03566, allocations: 8 kB / 279.9 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.03566, allocations: 0 / 279.9 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.03567, allocations: 4.078 kB / 279.9 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.03608, allocations: 464.9 kB / 280.3 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.03609, allocations: 3.984 kB / 280.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.0363, allocations: 83.88 kB / 280.4 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/0.03901, allocations: 1.033 MB / 281.4 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.03905, allocations: 23.98 kB / 281.5 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/0.04183, allocations: 4.254 MB / 285.7 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.04183, allocations: 3.938 kB / 285.7 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.04318, allocations: 0.9621 MB / 286.7 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.04322, allocations: 59.52 kB / 286.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.04328, allocations: 23.92 kB / 286.8 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.0435, allocations: 39.97 kB / 286.8 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.04364, allocations: 64.53 kB / 286.9 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.04367, allocations: 27.97 kB / 286.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.04386, allocations: 318.8 kB / 287.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04386, allocations: 0 / 287.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004259/0.04429, allocations: 200 kB / 287.4 MB, free: 1.965 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.0001857/0.04448, allocations: 135.2 kB / 287.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.04566, allocations: 0.9037 MB / 288.4 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.04566, allocations: 0 / 288.4 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.04622, allocations: 0.5259 MB / 289 MB, free: 324 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.0466, allocations: 134.2 kB / 289.1 MB, free: 188 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.04835, allocations: 1.299 MB / 290.4 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.04845, allocations: 155 kB / 290.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.04861, allocations: 56.72 kB / 290.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.04872, allocations: 48.48 kB / 290.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.352e-06/0.04872, allocations: 0 / 290.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of Templates: time 0.01548/0.0642, allocations: 13.12 MB / 303.8 MB, free: 1.445 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.1335798231884837]