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.001359/0.001359, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.002236/0.002236, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.001979/0.001979, allocations: 68.77 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2828, allocations: 53.38 MB / 432 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006252/0.289, allocations: 4.993 MB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.2919, allocations: 1.295 MB / 438.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005047/0.2924, allocations: 19.88 kB / 438.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.2927, allocations: 122.7 kB / 438.4 MB, free: 400 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006012/0.2933, allocations: 269.6 kB / 438.6 MB, free: 128 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.2941, allocations: 307.5 kB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.2954, allocations: 1.095 MB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.2958, allocations: 195 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005503/0.2963, allocations: 422.6 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006026/0.2969, allocations: 482 kB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.297, allocations: 88 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.2973, allocations: 116 kB / 441.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.2974, allocations: 199.3 kB / 441.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.2979, allocations: 453.8 kB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.2991, allocations: 1.043 MB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2991, allocations: 0 / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2991, allocations: 0 / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.2991, allocations: 4 kB / 443 MB, free: 11.75 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.002546/0.3016, allocations: 1.198 MB / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3017, allocations: 12.03 kB / 444.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.3018, allocations: 106.7 kB / 444.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.302, allocations: 100.3 kB / 444.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.3027, allocations: 430.1 kB / 444.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.3027, allocations: 49.69 kB / 444.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.3028, allocations: 68.33 kB / 444.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.3042, allocations: 0.6546 MB / 445.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.3042, allocations: 0 / 445.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.275e-05/0.3043, allocations: 28 kB / 445.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.3043, allocations: 16 kB / 445.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.306, allocations: 0.6999 MB / 446.3 MB, free: 8.316 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.003998/0.31, allocations: 2.308 MB / 448.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.3115, allocations: 0.5638 MB / 449.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.3122, allocations: 309.9 kB / 449.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/0.3123, allocations: 12.38 kB / 449.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009402/0.3132, allocations: 425.4 kB / 449.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.325e-06/0.3132, allocations: 7.938 kB / 450 MB, free: 4.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06885/0.3821, allocations: 15.25 MB / 465.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.3822, allocations: 137.5 kB / 465.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/0.3829, allocations: 0.5224 MB / 465.9 MB, free: 4.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.3831, allocations: 49.69 kB / 465.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.3834, allocations: 388.7 kB / 466.3 MB, free: 4.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.3837, allocations: 333.2 kB / 466.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003678/0.3841, allocations: 186.6 kB / 466.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3843, allocations: 386.7 kB / 467.2 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.3863, allocations: 0.7244 MB / 467.9 MB, free: 2.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.3885, allocations: 0.959 MB / 468.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004159/0.3926, allocations: 1.689 MB / 470.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.3926, allocations: 4 kB / 470.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02376/0.4164, allocations: 5.343 MB / 475.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.4165, allocations: 59.41 kB / 475.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4165, allocations: 8 kB / 476 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03404/0.4505, allocations: 6.848 MB / 482.8 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.4512, allocations: 155.7 kB / 483 MB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/0.4584, allocations: 3.153 MB / 486.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.4601, allocations: 183.8 kB / 486.3 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.4602, allocations: 47.92 kB / 486.3 MB, free: 15.7 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.0005871/0.4608, allocations: 229.6 kB / 486.6 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.461, allocations: 83.48 kB / 486.6 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0222/0.4832, allocations: 5.068 MB / 491.7 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.4832, allocations: 8 kB / 491.7 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.4832, allocations: 4 kB / 491.7 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.4833, allocations: 12.02 kB / 491.7 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.4848, allocations: 1.076 MB / 492.8 MB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4848, allocations: 4 kB / 492.8 MB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.4854, allocations: 87.88 kB / 492.9 MB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03791/0.5233, allocations: 6.797 MB / 499.7 MB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/0.5235, allocations: 23.97 kB / 499.7 MB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006289/0.5298, allocations: 3.052 MB / 0.491 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5298, allocations: 0 / 0.491 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02495/0.5547, allocations: 5.94 MB / 0.4968 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.5549, allocations: 87.33 kB / 0.4969 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.5551, allocations: 16 kB / 0.4969 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.5564, allocations: 171.8 kB / 0.4971 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.5567, allocations: 96.83 kB / 0.4971 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.954e-05/0.5568, allocations: 35.97 kB / 0.4972 GB, free: 8.754 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004569/0.5572, allocations: 354.8 kB / 0.4975 GB, free: 8.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5572, allocations: 0 / 0.4975 GB, free: 8.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007396/0.558, allocations: 267.9 kB / 0.4978 GB, free: 8.148 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.02543/0.5834, allocations: 6.528 MB / 0.5041 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00691/0.5903, allocations: 2.091 MB / 0.5062 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.5903, allocations: 0 / 0.5062 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003438/0.5938, allocations: 1.023 MB / 0.5072 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007336/0.5945, allocations: 138.4 kB / 0.5073 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0568/0.6513, allocations: 15.87 MB / 0.5228 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/0.6519, allocations: 0.9507 MB / 0.5237 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003066/0.6522, allocations: 58.27 kB / 0.5238 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.6526, allocations: 275.3 kB / 0.5241 GB, free: 12.79 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6526, allocations: 0 / 0.5241 GB, free: 12.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2632/0.9158, allocations: 30.92 MB / 0.5543 GB, free: 100.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.76, allocations: 8.703 kB / 0.5543 GB, free: 100.2 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.157802025787532] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.873480657115579 14.890204223 14.587574781 Calling exit ...