Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 105 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 213.2 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.287/1.287, allocations: 230.5 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 67.89 kB / 376.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2318, allocations: 53.32 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005719/0.2375, allocations: 5 MB / 434.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.2395, allocations: 1.287 MB / 435.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.2398, allocations: 15.94 kB / 435.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.24, allocations: 118.7 kB / 435.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.2404, allocations: 273.6 kB / 436.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005852/0.241, allocations: 307.5 kB / 436.4 MB, free: 436 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009768/0.242, allocations: 1.091 MB / 437.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.2423, allocations: 186.5 kB / 437.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.2427, allocations: 426.5 kB / 438.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005475/0.2432, allocations: 482 kB / 438.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.2433, allocations: 92 kB / 438.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.2435, allocations: 120 kB / 438.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.2437, allocations: 199.3 kB / 439 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.2441, allocations: 453.8 kB / 439.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009527/0.2451, allocations: 1.039 MB / 440.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2451, allocations: 0 / 440.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2451, allocations: 0 / 440.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.2451, allocations: 0 / 440.5 MB, free: 12.35 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002402/0.2475, allocations: 1.285 MB / 441.7 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2475, allocations: 8.031 kB / 441.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.2476, allocations: 110.7 kB / 441.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.2478, allocations: 100.3 kB / 442 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.2484, allocations: 487.9 kB / 442.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.2485, allocations: 45.69 kB / 442.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.2486, allocations: 72.31 kB / 442.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.2499, allocations: 0.6546 MB / 443.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.2499, allocations: 0 / 443.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.25, allocations: 28 kB / 443.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.25, allocations: 16 kB / 443.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.2517, allocations: 0.6922 MB / 443.9 MB, free: 8.746 MB / 350.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.003616/0.2553, allocations: 2.379 MB / 446.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.2567, allocations: 0.5569 MB / 446.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/0.2574, allocations: 314 kB / 447.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.2574, allocations: 12.31 kB / 447.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008838/0.2583, allocations: 429.4 kB / 447.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.523e-06/0.2583, allocations: 0 / 447.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06376/0.3221, allocations: 15.38 MB / 463 MB, free: 5.406 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.3222, allocations: 149.5 kB / 463.1 MB, free: 5.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006708/0.3229, allocations: 0.5186 MB / 463.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.323, allocations: 41.7 kB / 463.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.3233, allocations: 392.7 kB / 464.1 MB, free: 4.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.3236, allocations: 329.2 kB / 464.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/0.324, allocations: 190.6 kB / 464.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.3242, allocations: 386.7 kB / 465 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.3262, allocations: 0.7244 MB / 465.7 MB, free: 2.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.3283, allocations: 0.959 MB / 466.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004005/0.3323, allocations: 1.689 MB / 468.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3323, allocations: 4 kB / 468.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02153/0.3538, allocations: 5.335 MB / 473.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.147e-05/0.3539, allocations: 71.39 kB / 473.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3539, allocations: 7.938 kB / 473.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03139/0.3853, allocations: 6.829 MB / 480.6 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006726/0.386, allocations: 151.7 kB / 480.7 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005631/0.3916, allocations: 3.013 MB / 483.7 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.3931, allocations: 172.1 kB / 483.9 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.3932, allocations: 51.91 kB / 484 MB, free: 68 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (54): * 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: 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.0004091/0.3936, allocations: 233.6 kB / 484.2 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.3938, allocations: 83.48 kB / 484.3 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02073/0.4145, allocations: 5.064 MB / 489.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.4145, allocations: 8 kB / 489.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4145, allocations: 0 / 489.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.4145, allocations: 7.984 kB / 489.4 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.416, allocations: 1.108 MB / 490.5 MB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.416, allocations: 0 / 490.5 MB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.4165, allocations: 95.88 kB / 490.6 MB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0311/0.4476, allocations: 6.781 MB / 497.3 MB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.4478, allocations: 27.97 kB / 497.4 MB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005586/0.4534, allocations: 3.033 MB / 0.4887 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4534, allocations: 0 / 0.4887 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02253/0.4759, allocations: 5.94 MB / 0.4945 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.4761, allocations: 164.5 kB / 0.4946 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.4763, allocations: 16 kB / 0.4946 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.4775, allocations: 175.7 kB / 0.4948 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.4778, allocations: 93.12 kB / 0.4949 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.143e-05/0.4778, allocations: 31.97 kB / 0.4949 GB, free: 9.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003964/0.4782, allocations: 362.8 kB / 0.4953 GB, free: 8.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4782, allocations: 0 / 0.4953 GB, free: 8.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007013/0.4789, allocations: 256 kB / 0.4955 GB, free: 8.418 MB / 414.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.0231/0.502, allocations: 6.525 MB / 0.5019 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005794/0.5078, allocations: 1.969 MB / 0.5038 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5078, allocations: 0 / 0.5038 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003279/0.5111, allocations: 1.008 MB / 0.5048 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.5118, allocations: 134.2 kB / 0.5049 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05044/0.5623, allocations: 15.9 MB / 0.5205 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.5628, allocations: 0.9507 MB / 0.5214 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002896/0.5631, allocations: 58.27 kB / 0.5214 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.5634, allocations: 271.3 kB / 0.5217 GB, free: 13.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5634, allocations: 4 kB / 0.5217 GB, free: 13.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2339/0.7973, allocations: 30.54 MB / 0.5515 GB, free: 101.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.77, allocations: 2.75 kB / 0.5515 GB, free: 101.2 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.899567911001213]