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.001729/0.001729, allocations: 122.6 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.002126/0.002126, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.54/1.54, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.002054/0.002054, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1204, allocations: 53.32 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.2405/0.3609, allocations: 4.987 MB / 432 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.3642, allocations: 1.287 MB / 433.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.3647, allocations: 14.41 kB / 433.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.365, allocations: 123.8 kB / 433.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006087/0.3656, allocations: 267 kB / 433.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007526/0.3664, allocations: 314.8 kB / 434 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.3674, allocations: 1.092 MB / 435.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.3677, allocations: 190.7 kB / 435.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.3682, allocations: 433.4 kB / 435.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/0.3688, allocations: 474.5 kB / 436.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.369, allocations: 90.34 kB / 436.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.3693, allocations: 114 kB / 436.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.3695, allocations: 203.7 kB / 436.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004678/0.3699, allocations: 453 kB / 437 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.3713, allocations: 1.039 MB / 438.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3713, allocations: 1.641 kB / 438.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3713, allocations: 0 / 438.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.35e-05/0.3713, allocations: 0 / 438.1 MB, free: 6.246 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.00267/0.374, allocations: 1.277 MB / 439.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.374, allocations: 13 kB / 439.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.3742, allocations: 107.8 kB / 439.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.3743, allocations: 98.92 kB / 439.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007816/0.3751, allocations: 495.9 kB / 440 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.3752, allocations: 47.84 kB / 440.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.3753, allocations: 66.86 kB / 440.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.3768, allocations: 0.6581 MB / 440.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.3768, allocations: 5.781 kB / 440.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.3769, allocations: 25.59 kB / 440.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.3769, allocations: 15.34 kB / 440.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.3788, allocations: 0.6988 MB / 441.5 MB, free: 4.348 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.004252/0.383, allocations: 2.374 MB / 443.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.3846, allocations: 0.5636 MB / 444.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007867/0.3854, allocations: 308.4 kB / 444.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.3854, allocations: 10.55 kB / 444.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009904/0.3864, allocations: 429.2 kB / 445.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.946e-06/0.3864, allocations: 0 / 445.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07229/0.4587, allocations: 15.38 MB / 460.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.4589, allocations: 146.8 kB / 460.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008881/0.4597, allocations: 0.5296 MB / 461.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.46, allocations: 42.86 kB / 461.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.4603, allocations: 388.5 kB / 461.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.4607, allocations: 332.2 kB / 462 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003776/0.4611, allocations: 183.3 kB / 462.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4613, allocations: 389.5 kB / 462.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.4634, allocations: 0.7175 MB / 463.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.4659, allocations: 0.9638 MB / 464.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004447/0.4703, allocations: 1.694 MB / 465.9 MB, free: 8.605 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.4703, allocations: 4 kB / 465.9 MB, free: 8.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.025/0.4953, allocations: 5.336 MB / 471.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.4954, allocations: 67.41 kB / 471.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.4955, allocations: 4 kB / 471.4 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0352/0.5307, allocations: 6.842 MB / 478.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/0.5315, allocations: 155.7 kB / 478.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007495/0.539, allocations: 3.161 MB / 481.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.5408, allocations: 175.8 kB / 481.7 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.541, allocations: 47.92 kB / 481.7 MB, free: 8.727 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.0005436/0.5415, allocations: 238 kB / 482 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.5417, allocations: 85.48 kB / 482 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02311/0.5648, allocations: 5.071 MB / 487.1 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.5648, allocations: 8 kB / 487.1 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/0.5648, allocations: 4.875 kB / 487.1 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.659e-05/0.5649, allocations: 3.984 kB / 487.1 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.5668, allocations: 1.107 MB / 488.2 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5668, allocations: 0 / 488.2 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.5673, allocations: 95.88 kB / 488.3 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03456/0.6019, allocations: 6.798 MB / 495.1 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002801/0.6022, allocations: 24.72 kB / 495.2 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006272/0.6085, allocations: 3.041 MB / 498.2 MB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6085, allocations: 7.938 kB / 498.2 MB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02568/0.6341, allocations: 5.942 MB / 0.4923 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.6345, allocations: 160.4 kB / 0.4925 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.6347, allocations: 20 kB / 0.4925 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.6362, allocations: 167.8 kB / 0.4927 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/0.6364, allocations: 96.88 kB / 0.4928 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.6366, allocations: 35.97 kB / 0.4928 GB, free: 1.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004892/0.637, allocations: 350.8 kB / 0.4931 GB, free: 1.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.637, allocations: 0 / 0.4931 GB, free: 1.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008763/0.6379, allocations: 260 kB / 0.4934 GB, free: 1.09 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.02591/0.6638, allocations: 6.527 MB / 0.4997 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007438/0.6713, allocations: 2.101 MB / 0.5018 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.6713, allocations: 0 / 0.5018 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003869/0.6751, allocations: 1.014 MB / 0.5028 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.6762, allocations: 138.6 kB / 0.5029 GB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05808/0.7343, allocations: 15.9 MB / 0.5184 GB, free: 7.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/0.735, allocations: 0.9507 MB / 0.5194 GB, free: 6.094 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004188/0.7354, allocations: 58.22 kB / 0.5194 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.7359, allocations: 272.9 kB / 0.5197 GB, free: 5.773 MB / 430.1 MB Notification: Performance of SimCode: time 1.312e-06/0.7359, allocations: 0 / 0.5197 GB, free: 5.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09387/0.8298, allocations: 29.72 MB / 0.5487 GB, free: 8.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.37, allocations: 11.42 kB / 0.5487 GB, free: 8.332 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 & 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.987128325738013] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.479459315072745 14.50620365 14.129707881 Calling exit ...