Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005578/0.005578, allocations: 101.3 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 188.6 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 51.94 kB / 326.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08526/0.08638, allocations: 46.62 MB / 373.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.2412/0.3276, allocations: 4.683 MB / 377.9 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.3308, allocations: 1.276 MB / 379.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007579/0.3316, allocations: 11.66 kB / 379.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.3321, allocations: 111.5 kB / 379.3 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007456/0.3328, allocations: 249.3 kB / 379.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.334, allocations: 303.5 kB / 379.8 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.3356, allocations: 1.052 MB / 380.8 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004868/0.3361, allocations: 262.2 kB / 381.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006576/0.3367, allocations: 408.9 kB / 381.5 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005982/0.3373, allocations: 450.1 kB / 381.9 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.3375, allocations: 85.03 kB / 382 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.3377, allocations: 110.6 kB / 382.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.3379, allocations: 189.5 kB / 382.3 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.3384, allocations: 430.9 kB / 382.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.3396, allocations: 0.9735 MB / 383.7 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3396, allocations: 0 / 383.7 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3396, allocations: 3.938 kB / 383.7 MB, free: 8.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.3396, allocations: 3.656 kB / 383.7 MB, free: 8.137 MB / 318.1 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.002644/0.3423, allocations: 1.216 MB / 384.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3423, allocations: 9.25 kB / 384.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.3425, allocations: 89.34 kB / 385 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008869/0.3434, allocations: 472.9 kB / 385.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.439e-05/0.3435, allocations: 48.06 kB / 385.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.3437, allocations: 61.09 kB / 385.6 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.3453, allocations: 0.6381 MB / 386.2 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.3453, allocations: 0.5625 kB / 386.2 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/0.3454, allocations: 26.08 kB / 386.3 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.3454, allocations: 14.31 kB / 386.3 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.3473, allocations: 0.6789 MB / 387 MB, free: 6.398 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004232/0.3516, allocations: 2.301 MB / 389.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.3532, allocations: 0.5909 MB / 389.8 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/0.354, allocations: 331.4 kB / 390.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.3541, allocations: 7.656 kB / 390.2 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.3553, allocations: 435.3 kB / 390.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 3.406e-06/0.3553, allocations: 0 / 390.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=94): time 0.07077/0.4261, allocations: 15.4 MB / 406 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.4263, allocations: 145.5 kB / 406.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.4273, allocations: 498.8 kB / 406.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003737/0.4276, allocations: 45.7 kB / 406.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.428, allocations: 365.9 kB / 407 MB, free: 12.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.4285, allocations: 311.6 kB / 407.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.4289, allocations: 182.5 kB / 407.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4291, allocations: 378.8 kB / 407.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/0.4311, allocations: 0.7279 MB / 408.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.4332, allocations: 0.9265 MB / 409.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/0.4373, allocations: 1.666 MB / 411.2 MB, free: 8.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.4374, allocations: 0 / 411.2 MB, free: 8.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02274/0.4601, allocations: 5.348 MB / 416.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.4603, allocations: 63.41 kB / 416.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.4603, allocations: 4 kB / 416.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03307/0.4934, allocations: 6.825 MB / 423.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008269/0.4943, allocations: 144.6 kB / 423.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/0.5004, allocations: 3.008 MB / 426.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.5023, allocations: 179.9 kB / 426.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.5024, allocations: 47.97 kB / 426.8 MB, free: 8.52 MB / 350.1 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 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.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 (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004997/0.5029, allocations: 217.6 kB / 427 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.5031, allocations: 81.41 kB / 427.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0218/0.5249, allocations: 5.095 MB / 432.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/0.525, allocations: 8 kB / 432.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.525, allocations: 0 / 432.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/0.5251, allocations: 3.984 kB / 432.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.5273, allocations: 1.105 MB / 433.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.5273, allocations: 3.938 kB / 433.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.5278, allocations: 87.83 kB / 433.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03191/0.5597, allocations: 6.785 MB / 440.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003299/0.5601, allocations: 23.97 kB / 440.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006302/0.5664, allocations: 3.031 MB / 443.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5665, allocations: 3.984 kB / 443.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02373/0.5902, allocations: 5.987 MB / 449.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.5906, allocations: 148.1 kB / 449.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.5908, allocations: 16 kB / 449.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.5921, allocations: 175.8 kB / 449.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.5924, allocations: 92.88 kB / 449.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.092e-05/0.5925, allocations: 35.97 kB / 449.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003881/0.5929, allocations: 342.9 kB / 450 MB, free: 1.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5929, allocations: 0 / 450 MB, free: 1.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008127/0.5937, allocations: 248 kB / 450.3 MB, free: 0.9102 MB / 366.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.594, allocations: 132.3 kB / 450.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005966/0.6, allocations: 2.044 MB / 452.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6, allocations: 4.062 kB / 452.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00363/0.6037, allocations: 1.09 MB / 453.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.6046, allocations: 128.5 kB / 453.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.6082, allocations: 1.749 MB / 455.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.6087, allocations: 0.9389 MB / 456.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.609, allocations: 54.08 kB / 456.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.6091, allocations: 39.42 kB / 456.5 MB, free: 10.67 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.6091, allocations: 0 / 456.5 MB, free: 10.67 MB / 382.1 MB Notification: Performance of Templates: time 0.03568/0.6448, allocations: 22.74 MB / 479.2 MB, free: 3.906 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1)