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.001539/0.001539, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001605/0.001605, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.454/1.454, allocations: 230.5 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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.00189/0.00189, allocations: 63.89 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09966, allocations: 53.33 MB / 426.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.1912/0.2908, allocations: 4.983 MB / 431.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.2932, allocations: 1.288 MB / 433.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.2935, allocations: 14.75 kB / 433.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.2937, allocations: 122.1 kB / 433.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.2941, allocations: 264.8 kB / 433.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.2947, allocations: 314.4 kB / 433.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007672/0.2954, allocations: 1.093 MB / 435 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.2957, allocations: 189.4 kB / 435.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.2961, allocations: 426.3 kB / 435.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004686/0.2965, allocations: 469.8 kB / 436 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.2967, allocations: 92.34 kB / 436.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.2969, allocations: 115.3 kB / 436.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.297, allocations: 202.5 kB / 436.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003713/0.2974, allocations: 454.8 kB / 436.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.2985, allocations: 1.038 MB / 437.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2985, allocations: 1.562 kB / 437.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2985, allocations: 1.938 kB / 437.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.2985, allocations: 0 / 437.9 MB, free: 6.234 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.002297/0.3008, allocations: 1.279 MB / 439.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3008, allocations: 9.734 kB / 439.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.3009, allocations: 107.4 kB / 439.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.3011, allocations: 101 kB / 439.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.3017, allocations: 495.2 kB / 439.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.3018, allocations: 52.64 kB / 439.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3019, allocations: 67.52 kB / 440 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.3032, allocations: 0.6543 MB / 440.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.3032, allocations: 0 / 440.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/0.3033, allocations: 30.2 kB / 440.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.3033, allocations: 14.38 kB / 440.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.3049, allocations: 0.699 MB / 441.4 MB, free: 4.34 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.003547/0.3084, allocations: 2.371 MB / 443.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.3098, allocations: 0.5657 MB / 444.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/0.3104, allocations: 308.6 kB / 444.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.3105, allocations: 10.89 kB / 444.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008373/0.3113, allocations: 424.3 kB / 445.1 MB, free: 2.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.814e-06/0.3113, allocations: 0 / 445.1 MB, free: 2.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06749/0.3788, allocations: 15.38 MB / 460.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.3789, allocations: 142.5 kB / 460.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/0.3796, allocations: 0.5231 MB / 461.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.3799, allocations: 46.95 kB / 461.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.3802, allocations: 390.8 kB / 461.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.3806, allocations: 329.3 kB / 461.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004217/0.381, allocations: 184.1 kB / 462 MB, free: 11.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.3812, allocations: 390.8 kB / 462.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.3832, allocations: 0.7238 MB / 463.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.3856, allocations: 0.951 MB / 464.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004216/0.3898, allocations: 1.702 MB / 465.8 MB, free: 8.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.3899, allocations: 4 kB / 465.8 MB, free: 8.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02383/0.4137, allocations: 5.341 MB / 471.2 MB, free: 3.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/0.4138, allocations: 59.41 kB / 471.2 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.4138, allocations: 8 kB / 471.2 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03454/0.4483, allocations: 6.841 MB / 478.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.4491, allocations: 159.6 kB / 478.2 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007209/0.4563, allocations: 3.154 MB / 481.4 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.4581, allocations: 183.8 kB / 481.5 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/0.4583, allocations: 48.61 kB / 481.6 MB, free: 8.734 MB / 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.000591/0.4589, allocations: 235.8 kB / 481.8 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/0.4592, allocations: 83.48 kB / 481.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02254/0.4817, allocations: 5.073 MB / 487 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.4818, allocations: 8 kB / 487 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4818, allocations: 0 / 487 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.4818, allocations: 3.984 kB / 487 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.4836, allocations: 1.113 MB / 488.1 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.4836, allocations: 0 / 488.1 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.4842, allocations: 91.88 kB / 488.2 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03285/0.517, allocations: 6.798 MB / 495 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002588/0.5173, allocations: 23.97 kB / 495 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006031/0.5233, allocations: 3.041 MB / 498.1 MB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5233, allocations: 0.875 kB / 498.1 MB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02473/0.548, allocations: 5.949 MB / 0.4922 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.5483, allocations: 156.5 kB / 0.4923 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/0.5486, allocations: 24 kB / 0.4924 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.5501, allocations: 164.8 kB / 0.4925 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/0.5504, allocations: 96.88 kB / 0.4926 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.5505, allocations: 35.97 kB / 0.4927 GB, free: 1.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004688/0.5509, allocations: 354.8 kB / 0.493 GB, free: 1.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5509, allocations: 0 / 0.493 GB, free: 1.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008942/0.5518, allocations: 260 kB / 0.4932 GB, free: 1.098 MB / 398.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.02534/0.5772, allocations: 6.527 MB / 0.4996 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007057/0.5842, allocations: 2.097 MB / 0.5017 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5842, allocations: 0 / 0.5017 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003701/0.5879, allocations: 1.02 MB / 0.5027 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.5891, allocations: 132.9 kB / 0.5028 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05745/0.6465, allocations: 15.89 MB / 0.5183 GB, free: 7.094 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/0.6472, allocations: 0.9507 MB / 0.5192 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003724/0.6476, allocations: 61.12 kB / 0.5193 GB, free: 6.062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.648, allocations: 275.3 kB / 0.5196 GB, free: 5.793 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.648, allocations: 3.938 kB / 0.5196 GB, free: 5.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07103/0.719, allocations: 29.72 MB / 0.5486 GB, free: 8.355 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.84, allocations: 4.625 kB / 0.5486 GB, free: 8.355 MB / 462.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0396747 --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: 16.19421777781099] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 13.953804852906615 13.968873097 13.66752054 Calling exit ...