Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_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.001771/0.001771, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.002013/0.002013, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.456/1.456, allocations: 230.5 MB / 254.8 MB, free: 14.91 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.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_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.001978/0.001978, allocations: 67.84 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1075, allocations: 53.33 MB / 427 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.2118/0.3193, allocations: 4.96 MB / 432 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.3217, allocations: 1.294 MB / 433.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.3222, allocations: 15.31 kB / 433.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.3224, allocations: 120 kB / 433.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.3229, allocations: 260.9 kB / 433.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.3235, allocations: 313.3 kB / 434 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008601/0.3244, allocations: 1.099 MB / 435.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.3246, allocations: 184.5 kB / 435.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004103/0.3251, allocations: 433.9 kB / 435.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000499/0.3256, allocations: 479.4 kB / 436.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.3257, allocations: 91 kB / 436.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.3259, allocations: 112.2 kB / 436.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.3261, allocations: 207 kB / 436.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.3264, allocations: 456.1 kB / 437 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3276, allocations: 1.03 MB / 438 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3276, allocations: 1.312 kB / 438 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3276, allocations: 1.125 kB / 438 MB, free: 6.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3276, allocations: 0 / 438 MB, free: 6.242 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.002477/0.3301, allocations: 1.292 MB / 439.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3301, allocations: 10.09 kB / 439.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.3302, allocations: 106.8 kB / 439.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.3304, allocations: 99.17 kB / 439.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006658/0.331, allocations: 487.6 kB / 440 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.3311, allocations: 47.94 kB / 440.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.3312, allocations: 68.5 kB / 440.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.3326, allocations: 0.6573 MB / 440.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.3326, allocations: 0 / 440.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.3327, allocations: 28.16 kB / 440.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.3327, allocations: 19.22 kB / 440.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.3344, allocations: 0.7015 MB / 441.5 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.003876/0.3383, allocations: 2.371 MB / 443.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.3397, allocations: 0.5723 MB / 444.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007221/0.3404, allocations: 305 kB / 444.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.3405, allocations: 8.797 kB / 444.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009421/0.3414, allocations: 428.2 kB / 445.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.024e-06/0.3414, allocations: 0 / 445.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06832/0.4097, allocations: 15.38 MB / 460.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.4099, allocations: 140.2 kB / 460.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/0.4106, allocations: 0.5225 MB / 461.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002294/0.4109, allocations: 46.86 kB / 461.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.4112, allocations: 399.7 kB / 461.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.4115, allocations: 324.5 kB / 462 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004027/0.4119, allocations: 185.7 kB / 462.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.4121, allocations: 390.8 kB / 462.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.4143, allocations: 0.7198 MB / 463.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002325/0.4166, allocations: 0.955 MB / 464.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/0.4209, allocations: 1.697 MB / 465.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.421, allocations: 0 / 465.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0238/0.4448, allocations: 5.34 MB / 471.3 MB, free: 3.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.545e-05/0.4448, allocations: 63.39 kB / 471.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.4449, allocations: 8 kB / 471.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04958/0.4944, allocations: 6.832 MB / 478.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.4956, allocations: 155.7 kB / 478.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.5067, allocations: 3.006 MB / 481.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/0.5098, allocations: 175.9 kB / 481.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.51, allocations: 55.91 kB / 481.6 MB, free: 8.906 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.0007794/0.5107, allocations: 233.6 kB / 481.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.511, allocations: 79.48 kB / 481.9 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03731/0.5484, allocations: 5.068 MB / 486.9 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/0.5484, allocations: 8 kB / 486.9 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5484, allocations: 0 / 486.9 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.454e-05/0.5484, allocations: 4.859 kB / 486.9 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.5513, allocations: 1.109 MB / 488 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5513, allocations: 1.922 kB / 488.1 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009231/0.5522, allocations: 95.88 kB / 488.1 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05591/0.6081, allocations: 6.785 MB / 494.9 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003217/0.6084, allocations: 27.97 kB / 495 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.6186, allocations: 3.029 MB / 498 MB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.6186, allocations: 2.109 kB / 498 MB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03911/0.6577, allocations: 5.943 MB / 0.4921 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/0.6582, allocations: 164.4 kB / 0.4923 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.6584, allocations: 20 kB / 0.4923 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/0.6603, allocations: 167.8 kB / 0.4925 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003647/0.6606, allocations: 92.88 kB / 0.4925 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.6608, allocations: 35.97 kB / 0.4926 GB, free: 1.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006349/0.6614, allocations: 354.8 kB / 0.4929 GB, free: 1.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6614, allocations: 0 / 0.4929 GB, free: 1.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001276/0.6627, allocations: 260 kB / 0.4932 GB, free: 1.305 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.03215/0.6948, allocations: 6.526 MB / 0.4995 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006351/0.7012, allocations: 1.962 MB / 0.5015 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7012, allocations: 0 / 0.5015 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003619/0.7048, allocations: 1.01 MB / 0.5024 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008658/0.7057, allocations: 130.4 kB / 0.5026 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05648/0.7622, allocations: 15.92 MB / 0.5181 GB, free: 7.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.7628, allocations: 0.9507 MB / 0.519 GB, free: 6.441 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003391/0.7631, allocations: 59.25 kB / 0.5191 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.7635, allocations: 275.3 kB / 0.5194 GB, free: 6.117 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7635, allocations: 0 / 0.5194 GB, free: 6.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07797/0.8415, allocations: 29.96 MB / 0.5486 GB, free: 8.445 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.15, allocations: 11.73 kB / 0.5486 GB, free: 8.434 MB / 462.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_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_HeatingPNP_NORGate.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.66612632665783] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.254461364354938 14.274629273 13.944256074 Calling exit ...