Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.00117/0.00117, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009756/0.0009756, allocations: 173.9 kB / 22.45 MB, free: 2.094 MB / 18.57 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 0.8664/0.8664, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001458/0.001458, allocations: 237.8 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6561/0.6561, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.6463 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.336e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.2196/0.2196, allocations: 4.204 MB / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.2213, allocations: 1.802 MB / 0.6521 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.2214, allocations: 13.5 kB / 0.6522 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.2222, allocations: 0.5969 MB / 0.6527 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.2226, allocations: 270.9 kB / 0.653 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.2229, allocations: 260.3 kB / 0.6532 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.2233, allocations: 0.6291 MB / 0.6539 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.2237, allocations: 345.7 kB / 0.6542 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.2239, allocations: 353.4 kB / 0.6545 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.2242, allocations: 236.7 kB / 0.6547 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.2243, allocations: 36.22 kB / 0.6548 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.2245, allocations: 234.2 kB / 0.655 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.2246, allocations: 166 kB / 0.6552 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2247, allocations: 151.1 kB / 0.6553 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.2252, allocations: 0.6261 MB / 0.6559 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2252, allocations: 0 / 0.6559 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2252, allocations: 0.5938 kB / 0.6559 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2252, allocations: 0 / 0.6559 GB, free: 52.67 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0007512/0.2259, allocations: 0.6604 MB / 0.6566 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.226, allocations: 10.91 kB / 0.6566 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.226, allocations: 79.05 kB / 0.6567 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/0.2265, allocations: 149.8 kB / 0.6568 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.2268, allocations: 277.6 kB / 0.6571 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2268, allocations: 23.47 kB / 0.6571 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.2269, allocations: 37.44 kB / 0.6571 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.2274, allocations: 0.6811 MB / 0.6578 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2274, allocations: 0.8906 kB / 0.6578 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.2274, allocations: 22.12 kB / 0.6578 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/0.2274, allocations: 35.59 kB / 0.6578 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.2278, allocations: 387.5 kB / 0.6582 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.229, allocations: 1.727 MB / 0.6599 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.2294, allocations: 243.2 kB / 0.6601 GB, free: 49.87 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-05/0.2295, allocations: 100.1 kB / 0.6602 GB, free: 49.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.2295, allocations: 6.312 kB / 0.6602 GB, free: 49.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.2295, allocations: 38.75 kB / 0.6603 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.2295, allocations: 0 / 0.6603 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.001249/0.2307, allocations: 0.8979 MB / 0.6611 GB, free: 49.33 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.2308, allocations: 56.09 kB / 0.6612 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.2309, allocations: 306.7 kB / 0.6615 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.231, allocations: 32.66 kB / 0.6615 GB, free: 49.06 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.231, allocations: 234.2 kB / 0.6617 GB, free: 48.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.2311, allocations: 85.47 kB / 0.6618 GB, free: 48.79 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.2311, allocations: 64.78 kB / 0.6619 GB, free: 48.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.874e-05/0.2312, allocations: 343.2 kB / 0.6622 GB, free: 48.42 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.2313, allocations: 104.5 kB / 0.6623 GB, free: 48.38 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.2314, allocations: 195.2 kB / 0.6625 GB, free: 48.24 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.2316, allocations: 316.9 kB / 0.6628 GB, free: 48.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2316, allocations: 9.906 kB / 0.6628 GB, free: 48.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004267/0.2321, allocations: 437.3 kB / 0.6632 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2321, allocations: 7.594 kB / 0.6632 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2321, allocations: 7.438 kB / 0.6632 GB, free: 47.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002036/0.2323, allocations: 99.41 kB / 0.6633 GB, free: 47.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2325, allocations: 65.95 kB / 0.6634 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.2338, allocations: 4.071 MB / 0.6674 GB, free: 43.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.2339, allocations: 10.22 kB / 0.6674 GB, free: 43.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.234, allocations: 13.16 kB / 0.6674 GB, free: 43.85 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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 {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.2341, allocations: 178.9 kB / 0.6676 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.2341, allocations: 31.12 kB / 0.6676 GB, free: 43.69 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.2341, allocations: 42.33 kB / 0.6676 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2341, allocations: 5.859 kB / 0.6676 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2341, allocations: 2 kB / 0.6676 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2341, allocations: 1.031 kB / 0.6676 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.2344, allocations: 337.1 kB / 0.668 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2344, allocations: 1.844 kB / 0.668 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.875e-05/0.2345, allocations: 31.55 kB / 0.668 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/0.2346, allocations: 96.31 kB / 0.6681 GB, free: 43.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2347, allocations: 10 kB / 0.6681 GB, free: 43.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.2358, allocations: 4.058 MB / 0.6721 GB, free: 39.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2358, allocations: 0 / 0.6721 GB, free: 39.47 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.2363, allocations: 0.5604 MB / 0.6726 GB, free: 39.15 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.2364, allocations: 46.2 kB / 0.6727 GB, free: 39.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.2364, allocations: 10.09 kB / 0.6727 GB, free: 39.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.2365, allocations: 8.156 kB / 0.6727 GB, free: 39.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.2365, allocations: 19.12 kB / 0.6727 GB, free: 39.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2365, allocations: 13.61 kB / 0.6727 GB, free: 39.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001179/0.2367, allocations: 208.4 kB / 0.6729 GB, free: 39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2367, allocations: 0 / 0.6729 GB, free: 39 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002788/0.2369, allocations: 99.19 kB / 0.673 GB, free: 38.98 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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 {(1,1,100.0%), (1,2,100.0%), (1,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.0005665/0.2375, allocations: 1.095 MB / 0.6741 GB, free: 38.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004703/0.238, allocations: 0.6002 MB / 0.6747 GB, free: 37.71 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.238, allocations: 0 / 0.6747 GB, free: 37.71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.2382, allocations: 455.3 kB / 0.6751 GB, free: 37.34 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.2385, allocations: 83.08 kB / 0.6752 GB, free: 37.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.2409, allocations: 3.358 MB / 0.6784 GB, free: 35.13 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.241, allocations: 228.8 kB / 0.6787 GB, free: 35.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.2411, allocations: 56.72 kB / 0.6787 GB, free: 35.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.881e-05/0.2412, allocations: 112.2 kB / 0.6788 GB, free: 34.95 MB / 0.5573 GB Notification: Performance of SimCode: time 8.21e-07/0.2412, allocations: 4 kB / 0.6788 GB, free: 34.94 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.2667, allocations: 8.918 MB / 0.6875 GB, free: 33.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.274, allocations: 10.02 kB / 0.6875 GB, free: 33.45 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.846234967000782] Failed to read output from testmodel.py, exit status != 0: 7.3594595566391945 7.368125458 7.140963409 Calling exit ...