Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009899/0.0009899, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000986/0.000986, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9473/0.9473, allocations: 173.4 MB / 200.4 MB, free: 9.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.884e-05, allocations: 2.281 kB / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.004013/0.004032, allocations: 4.408 MB / 322.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.006377, allocations: 1.24 MB / 324.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.006683, allocations: 15.88 kB / 324.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.006916, allocations: 130.7 kB / 324.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.007247, allocations: 269.5 kB / 324.5 MB, free: 256 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/0.00794, allocations: 311.4 kB / 324.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009748/0.008914, allocations: 1.141 MB / 325.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.009189, allocations: 175 kB / 326.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.009786, allocations: 0.6119 MB / 326.7 MB, free: 14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.01014, allocations: 367 kB / 327.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.567e-05/0.01024, allocations: 92 kB / 327.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.01039, allocations: 112 kB / 327.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.0105, allocations: 203.2 kB / 327.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.01071, allocations: 319.2 kB / 327.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007755/0.01148, allocations: 1.086 MB / 328.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.01149, allocations: 0 / 328.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01149, allocations: 0 / 328.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.01151, allocations: 0 / 328.9 MB, free: 11.84 MB / 298.7 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.00159/0.0131, allocations: 1.201 MB / 330.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.01314, allocations: 8.922 kB / 330.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.028e-05/0.01323, allocations: 110.7 kB / 330.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.01334, allocations: 104.3 kB / 330.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.01392, allocations: 425.3 kB / 330.7 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.01395, allocations: 45.69 kB / 330.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.01402, allocations: 64.38 kB / 330.8 MB, free: 9.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.01488, allocations: 0.7767 MB / 331.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.0149, allocations: 192 / 331.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.01494, allocations: 28.12 kB / 331.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01495, allocations: 16 kB / 331.6 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.0159, allocations: 0.6922 MB / 332.3 MB, free: 8.27 MB / 298.7 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.002339/0.01823, allocations: 1.898 MB / 334.2 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008382/0.01907, allocations: 0.5556 MB / 334.8 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.01949, allocations: 314.8 kB / 335.1 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.01952, allocations: 8.438 kB / 335.1 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005961/0.02012, allocations: 0.542 MB / 335.6 MB, free: 4.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.453e-06/0.02012, allocations: 0 / 335.6 MB, free: 4.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.03398/0.0541, allocations: 15.24 MB / 350.9 MB, free: 5.496 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/0.05419, allocations: 145.5 kB / 351 MB, free: 5.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.05476, allocations: 0.5263 MB / 351.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.05492, allocations: 45.7 kB / 351.6 MB, free: 4.738 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.05514, allocations: 392.7 kB / 352 MB, free: 4.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.05535, allocations: 329.2 kB / 352.3 MB, free: 4.023 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.05559, allocations: 178.6 kB / 352.5 MB, free: 3.844 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.05571, allocations: 394.7 kB / 352.9 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.05688, allocations: 0.7745 MB / 353.6 MB, free: 2.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.05815, allocations: 1.088 MB / 354.7 MB, free: 1.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.06049, allocations: 1.701 MB / 356.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.0605, allocations: 4 kB / 356.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01146/0.07196, allocations: 5.409 MB / 361.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.07202, allocations: 63.39 kB / 361.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.07203, allocations: 8 kB / 361.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01616/0.08819, allocations: 6.845 MB / 368.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.08858, allocations: 143.7 kB / 368.9 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.0929, allocations: 3.165 MB / 372.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008914/0.09379, allocations: 179.9 kB / 372.2 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.09386, allocations: 47.97 kB / 372.3 MB, free: 15.68 MB / 346.7 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.0003497/0.09421, allocations: 229.6 kB / 372.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.09431, allocations: 79.48 kB / 372.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.1051, allocations: 5.08 MB / 377.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.1051, allocations: 12 kB / 377.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1052, allocations: 0 / 377.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.1052, allocations: 4.031 kB / 377.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009448/0.1061, allocations: 0.8588 MB / 378.5 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1061, allocations: 0 / 378.5 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.1064, allocations: 95.88 kB / 378.6 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01605/0.1224, allocations: 6.786 MB / 385.4 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/0.1226, allocations: 23.97 kB / 385.4 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/0.1264, allocations: 3.048 MB / 388.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1264, allocations: 4 kB / 388.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/0.139, allocations: 5.945 MB / 394.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.1392, allocations: 71.47 kB / 394.5 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.1393, allocations: 27.92 kB / 394.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.14, allocations: 163.9 kB / 394.7 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.1402, allocations: 100.8 kB / 394.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.1403, allocations: 35.97 kB / 394.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003596/0.1406, allocations: 354.8 kB / 395.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1406, allocations: 0 / 395.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005958/0.1412, allocations: 260 kB / 395.4 MB, free: 8.352 MB / 362.7 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.01319/0.1544, allocations: 6.536 MB / 402 MB, free: 1.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.1585, allocations: 2.156 MB / 404.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.1585, allocations: 0 / 404.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.1603, allocations: 1.016 MB / 405.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/0.1612, allocations: 146.1 kB / 405.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/0.191, allocations: 16.12 MB / 421.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.1913, allocations: 357.8 kB / 421.7 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.1915, allocations: 54.28 kB / 421.8 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.1918, allocations: 280.4 kB / 422.1 MB, free: 13.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.472e-06/0.1918, allocations: 0 / 422.1 MB, free: 13.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04355/0.2353, allocations: 27.02 MB / 449.1 MB, free: 2.445 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/8.818, allocations: 9.812 kB / 449.1 MB, free: 2.441 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_0_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.82158201187849] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 8.92614929843694 9.077798225 9.064891982 Calling exit ...