Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 107.8 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.347/1.347, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 289.5 kB / 309.1 MB, free: 3.949 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.126/1.126, allocations: 180.9 MB / 0.5333 GB, free: 13.74 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 107.1 kB / 0.7343 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1463, allocations: 95.34 MB / 0.8274 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007071/0.1534, allocations: 5.552 MB / 0.8328 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004323/0.1577, allocations: 2.689 MB / 0.8354 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.158, allocations: 31.69 kB / 0.8354 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.1597, allocations: 0.6915 MB / 0.8361 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008606/0.1606, allocations: 425.8 kB / 0.8365 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.1614, allocations: 391.1 kB / 0.8369 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.1624, allocations: 0.9474 MB / 0.8378 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005096/0.1629, allocations: 370.6 kB / 0.8382 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000471/0.1634, allocations: 390.5 kB / 0.8385 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004997/0.1639, allocations: 422.4 kB / 0.8389 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.164, allocations: 48 kB / 0.839 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.1646, allocations: 379.1 kB / 0.8394 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.1648, allocations: 251.3 kB / 0.8396 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.1651, allocations: 354.2 kB / 0.8399 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.1662, allocations: 0.9805 MB / 0.8409 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1662, allocations: 3.984 kB / 0.8409 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1662, allocations: 0 / 0.8409 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.1662, allocations: 0 / 0.8409 GB, free: 11.94 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001557/0.1677, allocations: 0.9846 MB / 0.8419 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1678, allocations: 8.031 kB / 0.8419 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.1679, allocations: 106.7 kB / 0.842 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.1692, allocations: 196.2 kB / 0.8422 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.17, allocations: 0.5184 MB / 0.8427 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.17, allocations: 45.34 kB / 0.8427 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.1702, allocations: 48.55 kB / 0.8427 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.1713, allocations: 0.8316 MB / 0.8436 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.1714, allocations: 4 kB / 0.8436 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.1714, allocations: 27.98 kB / 0.8436 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.1716, allocations: 60.95 kB / 0.8436 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/0.1725, allocations: 0.5813 MB / 0.8442 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004587/0.1771, allocations: 4.574 MB / 0.8487 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.1776, allocations: 271.3 kB / 0.8489 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.1779, allocations: 213.3 kB / 0.8491 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.1779, allocations: 4.281 kB / 0.8491 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.178, allocations: 46.77 kB / 0.8492 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.178, allocations: 0 / 0.8492 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005668/0.1836, allocations: 2.628 MB / 0.8518 GB, free: 140 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1837, allocations: 55.41 kB / 0.8518 GB, free: 72 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.1842, allocations: 461.9 kB / 0.8523 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.1843, allocations: 33.7 kB / 0.8523 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.1845, allocations: 344.5 kB / 0.8526 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.1846, allocations: 158.7 kB / 0.8528 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.1848, allocations: 102.2 kB / 0.8529 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1849, allocations: 362.8 kB / 0.8532 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.1853, allocations: 237 kB / 0.8534 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.1858, allocations: 410.4 kB / 0.8538 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009024/0.1867, allocations: 0.67 MB / 0.8545 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1867, allocations: 4 kB / 0.8545 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001673/0.1884, allocations: 0.921 MB / 0.8554 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1884, allocations: 4 kB / 0.8554 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1884, allocations: 8 kB / 0.8554 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007698/0.1892, allocations: 227 kB / 0.8556 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.1897, allocations: 115.8 kB / 0.8557 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/0.195, allocations: 5.345 MB / 0.8609 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.1954, allocations: 31.97 kB / 0.861 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.1955, allocations: 32 kB / 0.861 GB, free: 6.023 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002937/0.1958, allocations: 222.2 kB / 0.8612 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/0.1959, allocations: 59.61 kB / 0.8613 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.1974, allocations: 0.7695 MB / 0.862 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1974, allocations: 4 kB / 0.862 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1974, allocations: 4 kB / 0.862 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1974, allocations: 0 / 0.862 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.1998, allocations: 1.487 MB / 0.8635 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1998, allocations: 4 kB / 0.8635 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.2002, allocations: 71.88 kB / 0.8636 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006706/0.2008, allocations: 202.6 kB / 0.8637 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.2009, allocations: 8 kB / 0.8638 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005128/0.206, allocations: 5.283 MB / 0.8689 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.206, allocations: 4.031 kB / 0.8689 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.2078, allocations: 1.128 MB / 0.87 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.2081, allocations: 168.7 kB / 0.8702 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.2081, allocations: 23.98 kB / 0.8702 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.2085, allocations: 23.97 kB / 0.8702 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.2085, allocations: 23.97 kB / 0.8702 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.2086, allocations: 27.98 kB / 0.8703 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003451/0.2089, allocations: 310.9 kB / 0.8706 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.2089, allocations: 0 / 0.8706 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000641/0.2096, allocations: 168 kB / 0.8707 GB, free: 11.45 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002095/0.2117, allocations: 1.684 MB / 0.8724 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.2133, allocations: 0.9692 MB / 0.8733 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2133, allocations: 0 / 0.8733 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009979/0.2143, allocations: 0.6642 MB / 0.874 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000844/0.2151, allocations: 182.9 kB / 0.8741 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007717/0.2228, allocations: 5.626 MB / 0.8796 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.2234, allocations: 0.9494 MB / 0.8806 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003365/0.2238, allocations: 117 kB / 0.8807 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.224, allocations: 211.4 kB / 0.8809 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/0.224, allocations: 0 / 0.8809 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.2752, allocations: 14.24 MB / 0.8948 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.49, allocations: 7.125 kB / 0.8948 GB, free: 2.699 MB / 0.6387 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.33042299002409] Failed to read output from testmodel.py, exit status != 0: 10.587661566212773 10.601522781 10.432600353 Calling exit ...