Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_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.001459/0.001459, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.00161/0.00161, allocations: 216.2 kB / 22.92 MB, free: 5.531 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.306/1.306, allocations: 230.4 MB / 256.4 MB, free: 8.445 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.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingNPN_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.001747/0.001747, allocations: 67.89 kB / 376.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2369, allocations: 53.32 MB / 429.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005674/0.2426, allocations: 5.005 MB / 434.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.2448, allocations: 1.303 MB / 435.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.245, allocations: 8 kB / 435.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.2453, allocations: 126.7 kB / 435.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.2457, allocations: 257.7 kB / 436.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.2463, allocations: 311.5 kB / 436.4 MB, free: 408 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.2473, allocations: 1.099 MB / 437.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.2476, allocations: 190.5 kB / 437.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.248, allocations: 422.5 kB / 438.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005547/0.2486, allocations: 482 kB / 438.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.2487, allocations: 92 kB / 438.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.2489, allocations: 108 kB / 438.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.2491, allocations: 203.3 kB / 439 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.2495, allocations: 453.8 kB / 439.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.2505, allocations: 1.035 MB / 440.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2505, allocations: 4 kB / 440.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2505, allocations: 0 / 440.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.2505, allocations: 0 / 440.5 MB, free: 12.32 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.002348/0.2529, allocations: 1.285 MB / 441.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2529, allocations: 8.031 kB / 441.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.253, allocations: 106.7 kB / 441.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.2532, allocations: 100.3 kB / 442 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.2538, allocations: 491.9 kB / 442.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.2538, allocations: 41.69 kB / 442.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.254, allocations: 80.31 kB / 442.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.2552, allocations: 0.6468 MB / 443.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2553, allocations: 0 / 443.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.2553, allocations: 28 kB / 443.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.2553, allocations: 16 kB / 443.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.257, allocations: 0.6961 MB / 443.9 MB, free: 8.719 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.003687/0.2607, allocations: 2.379 MB / 446.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.2621, allocations: 0.5542 MB / 446.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007156/0.2628, allocations: 306 kB / 447.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.2628, allocations: 20.34 kB / 447.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009137/0.2638, allocations: 429.4 kB / 447.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.824e-06/0.2638, allocations: 0 / 447.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.0651/0.3289, allocations: 15.39 MB / 463 MB, free: 5.371 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/0.3289, allocations: 141.5 kB / 463.1 MB, free: 5.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.3296, allocations: 0.5186 MB / 463.7 MB, free: 4.672 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.3297, allocations: 49.7 kB / 463.7 MB, free: 4.617 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.33, allocations: 392.7 kB / 464.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.3303, allocations: 329.2 kB / 464.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.3306, allocations: 182.6 kB / 464.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3308, allocations: 398.7 kB / 465 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/0.3328, allocations: 0.7205 MB / 465.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.3349, allocations: 0.9551 MB / 466.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003995/0.3389, allocations: 1.697 MB / 468.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3389, allocations: 0 / 468.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0218/0.3607, allocations: 5.343 MB / 473.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.3607, allocations: 67.39 kB / 473.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.3607, allocations: 4 kB / 473.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03194/0.3927, allocations: 6.848 MB / 480.6 MB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.3934, allocations: 147.7 kB / 480.8 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006419/0.3998, allocations: 3.153 MB / 483.9 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.4014, allocations: 183.8 kB / 484.1 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.4015, allocations: 51.91 kB / 484.1 MB, free: 15.86 MB / 398.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.0004158/0.4019, allocations: 227.2 kB / 484.4 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.4021, allocations: 87.52 kB / 484.4 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02077/0.4228, allocations: 5.072 MB / 489.5 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.4228, allocations: 12 kB / 489.5 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.4229, allocations: 0 / 489.5 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.4229, allocations: 7.984 kB / 489.5 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.4243, allocations: 1.112 MB / 490.7 MB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4243, allocations: 256 / 490.7 MB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.4248, allocations: 91.89 kB / 490.7 MB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03133/0.4561, allocations: 6.797 MB / 497.5 MB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.4563, allocations: 23.98 kB / 497.6 MB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005526/0.4618, allocations: 3.041 MB / 0.4889 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4618, allocations: 0 / 0.4889 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02286/0.4847, allocations: 5.948 MB / 0.4947 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.4849, allocations: 160.5 kB / 0.4948 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.485, allocations: 19.98 kB / 0.4949 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.4863, allocations: 167.8 kB / 0.495 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.4866, allocations: 96.86 kB / 0.4951 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/0.4866, allocations: 31.98 kB / 0.4951 GB, free: 8.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004132/0.487, allocations: 358.8 kB / 0.4955 GB, free: 8.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.487, allocations: 0 / 0.4955 GB, free: 8.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000704/0.4878, allocations: 256 kB / 0.4957 GB, free: 8.188 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.02328/0.511, allocations: 6.532 MB / 0.5021 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006512/0.5175, allocations: 2.102 MB / 0.5042 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5176, allocations: 5.375 kB / 0.5042 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003288/0.5208, allocations: 1.015 MB / 0.5051 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006985/0.5215, allocations: 129.5 kB / 0.5053 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05121/0.5727, allocations: 15.88 MB / 0.5208 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.5733, allocations: 0.9506 MB / 0.5217 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.5735, allocations: 58.27 kB / 0.5218 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.5739, allocations: 279.3 kB / 0.522 GB, free: 12.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5739, allocations: 4 kB / 0.522 GB, free: 12.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/0.8043, allocations: 30.28 MB / 0.5516 GB, free: 101.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.66, allocations: 15.62 kB / 0.5516 GB, free: 101.7 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.758791164997092]