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.001692/0.001692, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002069/0.002069, allocations: 212 kB / 24.54 MB, free: 4.016 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.001938/0.001938, allocations: 68.75 kB / 378.6 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2552, allocations: 53.37 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.00626/0.2615, allocations: 5.001 MB / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.2641, allocations: 1.295 MB / 438.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003121/0.2644, allocations: 19.94 kB / 438.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.2647, allocations: 122.7 kB / 438.4 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.2651, allocations: 261.7 kB / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.2658, allocations: 311.4 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.2669, allocations: 1.103 MB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.2672, allocations: 183 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.2677, allocations: 430.5 kB / 440.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005781/0.2682, allocations: 490 kB / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.2684, allocations: 88 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.2686, allocations: 112 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.2688, allocations: 203.3 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.2692, allocations: 453.8 kB / 442 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.2703, allocations: 1.043 MB / 443 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2703, allocations: 0 / 443 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2703, allocations: 0 / 443 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.2703, allocations: 0 / 443 MB, free: 11.81 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.002437/0.2727, allocations: 1.202 MB / 444.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2728, allocations: 12.03 kB / 444.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.2729, allocations: 106.7 kB / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.273, allocations: 100.3 kB / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/0.2737, allocations: 426.1 kB / 444.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.2738, allocations: 49.67 kB / 444.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.2739, allocations: 68.33 kB / 444.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.2752, allocations: 0.6546 MB / 445.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.2752, allocations: 0 / 445.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.2753, allocations: 28 kB / 445.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.2753, allocations: 16 kB / 445.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.2769, allocations: 0.7038 MB / 446.3 MB, free: 8.371 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.00376/0.2807, allocations: 2.3 MB / 448.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.2821, allocations: 0.5638 MB / 449.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006905/0.2828, allocations: 317.9 kB / 449.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.2828, allocations: 8.422 kB / 449.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009137/0.2837, allocations: 425.4 kB / 449.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.703e-06/0.2837, allocations: 0 / 449.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06512/0.3489, allocations: 15.25 MB / 465.2 MB, free: 5.277 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.349, allocations: 137.5 kB / 465.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006717/0.3496, allocations: 0.5225 MB / 465.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001574/0.3498, allocations: 45.7 kB / 465.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.3501, allocations: 392.7 kB / 466.3 MB, free: 4.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.3504, allocations: 333.2 kB / 466.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.3507, allocations: 182.6 kB / 466.8 MB, free: 3.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3509, allocations: 394.6 kB / 467.2 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.3529, allocations: 0.7205 MB / 467.9 MB, free: 2.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.355, allocations: 0.9551 MB / 468.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003972/0.3589, allocations: 1.693 MB / 470.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3589, allocations: 7.938 kB / 470.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02204/0.381, allocations: 5.343 MB / 475.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.3811, allocations: 66.2 kB / 475.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.3811, allocations: 8 kB / 476 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03293/0.414, allocations: 6.848 MB / 482.8 MB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.4147, allocations: 155.7 kB / 483 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006844/0.4215, allocations: 3.15 MB / 486.1 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.4231, allocations: 187.8 kB / 486.3 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.4232, allocations: 51.91 kB / 486.3 MB, free: 15.76 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.0004199/0.4237, allocations: 225.7 kB / 486.6 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.4238, allocations: 83.48 kB / 486.6 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0218/0.4456, allocations: 5.068 MB / 491.7 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/0.4456, allocations: 8 kB / 491.7 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4457, allocations: 0 / 491.7 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/0.4457, allocations: 7.984 kB / 491.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.4474, allocations: 1.076 MB / 492.8 MB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.4474, allocations: 4 kB / 492.8 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/0.4479, allocations: 87.89 kB / 492.9 MB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03218/0.4801, allocations: 6.793 MB / 499.7 MB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/0.4803, allocations: 23.98 kB / 499.7 MB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005793/0.4861, allocations: 3.045 MB / 0.491 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.4861, allocations: 12.23 kB / 0.491 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02337/0.5094, allocations: 5.944 MB / 0.4968 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.5096, allocations: 79.41 kB / 0.4969 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.5098, allocations: 28.05 kB / 0.4969 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.5111, allocations: 167.8 kB / 0.497 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.5113, allocations: 96.83 kB / 0.4971 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/0.5114, allocations: 35.97 kB / 0.4972 GB, free: 8.816 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004192/0.5118, allocations: 354.8 kB / 0.4975 GB, free: 8.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5118, allocations: 0 / 0.4975 GB, free: 8.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006945/0.5125, allocations: 259.9 kB / 0.4978 GB, free: 8.219 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.02357/0.5361, allocations: 6.533 MB / 0.5041 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00653/0.5426, allocations: 2.094 MB / 0.5062 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5426, allocations: 0 / 0.5062 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003311/0.5459, allocations: 1.02 MB / 0.5072 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007715/0.5467, allocations: 134.1 kB / 0.5073 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05333/0.6, allocations: 15.89 MB / 0.5228 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.6006, allocations: 0.9468 MB / 0.5238 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003242/0.6009, allocations: 58.27 kB / 0.5238 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.6013, allocations: 279.3 kB / 0.5241 GB, free: 12.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6013, allocations: 0 / 0.5241 GB, free: 12.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2609/0.8622, allocations: 30.92 MB / 0.5543 GB, free: 100.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.79, allocations: 3.984 kB / 0.5543 GB, free: 100.3 MB / 446.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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0396747 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.188069290015846] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 13.899736715015024 13.912722782 13.639361064 Calling exit ...