Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001613/0.001613, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001842/0.001842, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 377.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2909, allocations: 53.42 MB / 431.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005888/0.2968, allocations: 4.425 MB / 435.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.2994, allocations: 1.245 MB / 436.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.2999, allocations: 19.94 kB / 436.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.3002, allocations: 126.7 kB / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005103/0.3007, allocations: 261.7 kB / 437.2 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.3014, allocations: 311.5 kB / 437.5 MB, free: 68 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.3026, allocations: 1.095 MB / 438.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.3029, allocations: 176.7 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00057/0.3035, allocations: 430.5 kB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.304, allocations: 430 kB / 439.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.3042, allocations: 88 kB / 439.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.3044, allocations: 112 kB / 439.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.3046, allocations: 203.3 kB / 440 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.3049, allocations: 382.3 kB / 440.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.306, allocations: 1.043 MB / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.306, allocations: 0 / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.306, allocations: 0 / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.306, allocations: 4 kB / 441.5 MB, free: 12.12 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.002587/0.3086, allocations: 1.202 MB / 442.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3086, allocations: 15.98 kB / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.3088, allocations: 110.7 kB / 442.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.3089, allocations: 96.33 kB / 442.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/0.3097, allocations: 430.1 kB / 443.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.3098, allocations: 53.69 kB / 443.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.3099, allocations: 68.33 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.3113, allocations: 0.7879 MB / 444.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3114, allocations: 0 / 444.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/0.3114, allocations: 28 kB / 444.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3115, allocations: 12 kB / 444.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.3132, allocations: 0.696 MB / 444.9 MB, free: 8.516 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.004049/0.3172, allocations: 1.87 MB / 446.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.3187, allocations: 0.563 MB / 447.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007499/0.3195, allocations: 310.6 kB / 447.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.3195, allocations: 8.438 kB / 447.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.3206, allocations: 0.5449 MB / 448.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.705e-06/0.3206, allocations: 0 / 448.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07227/0.3929, allocations: 15.24 MB / 463.5 MB, free: 5.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.393, allocations: 145.5 kB / 463.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007166/0.3937, allocations: 0.5302 MB / 464.1 MB, free: 5.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.3939, allocations: 45.7 kB / 464.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.3942, allocations: 404.5 kB / 464.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.3946, allocations: 333.2 kB / 464.9 MB, free: 4.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/0.3949, allocations: 186.5 kB / 465.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.3951, allocations: 390.7 kB / 465.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/0.3973, allocations: 0.7784 MB / 466.3 MB, free: 2.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.3996, allocations: 1.089 MB / 467.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004174/0.4038, allocations: 1.693 MB / 469 MB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.4038, allocations: 4 kB / 469 MB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02335/0.4272, allocations: 5.397 MB / 474.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.466e-05/0.4273, allocations: 63.53 kB / 474.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.4273, allocations: 12 kB / 474.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03381/0.4611, allocations: 6.836 MB / 481.3 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.4618, allocations: 159.7 kB / 481.5 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007092/0.4689, allocations: 3.153 MB / 484.7 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.4706, allocations: 183.8 kB / 484.8 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.4708, allocations: 59.84 kB / 484.9 MB, free: 15.93 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.0004433/0.4712, allocations: 225.7 kB / 485.1 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.4714, allocations: 83.48 kB / 485.2 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02203/0.4934, allocations: 5.084 MB / 490.3 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.4934, allocations: 8 kB / 490.3 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.4935, allocations: 0 / 490.3 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/0.4935, allocations: 8.016 kB / 490.3 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.495, allocations: 0.8538 MB / 491.1 MB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.495, allocations: 0 / 491.1 MB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.4956, allocations: 91.88 kB / 491.2 MB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03331/0.5289, allocations: 6.793 MB / 498 MB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002354/0.5291, allocations: 27.97 kB / 498.1 MB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006088/0.5352, allocations: 3.037 MB / 0.4894 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5352, allocations: 0 / 0.4894 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02445/0.5596, allocations: 5.96 MB / 0.4952 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.5599, allocations: 75.44 kB / 0.4952 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.56, allocations: 16 kB / 0.4953 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.5614, allocations: 171.8 kB / 0.4954 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.5616, allocations: 96.83 kB / 0.4955 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.099e-05/0.5617, allocations: 31.98 kB / 0.4955 GB, free: 9.207 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00044/0.5622, allocations: 354.8 kB / 0.4959 GB, free: 8.859 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5622, allocations: 0 / 0.4959 GB, free: 8.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007501/0.5629, allocations: 263.9 kB / 0.4961 GB, free: 8.602 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.02501/0.5879, allocations: 6.542 MB / 0.5025 GB, free: 2.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007081/0.595, allocations: 2.153 MB / 0.5046 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.595, allocations: 4.312 kB / 0.5046 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003528/0.5985, allocations: 1.015 MB / 0.5056 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.5993, allocations: 138.5 kB / 0.5058 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05517/0.6545, allocations: 16.14 MB / 0.5215 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.6548, allocations: 361.8 kB / 0.5219 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003618/0.6552, allocations: 54.27 kB / 0.5219 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.6556, allocations: 283.3 kB / 0.5222 GB, free: 13.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6556, allocations: 0 / 0.5222 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2549/0.9105, allocations: 27.01 MB / 0.5486 GB, free: 105.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.44, allocations: 15.08 kB / 0.5486 GB, free: 105.2 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.892351655755192] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.573019742965698 14.588548957 14.280140718 Calling exit ...