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.001429/0.001429, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001682/0.001682, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.002493/0.002493, allocations: 304 kB / 312.7 MB, free: 2.562 MB / 238.1 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 1.221/1.221, allocations: 180.6 MB / 0.5369 GB, free: 14.62 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 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.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.003224/0.003224, allocations: 110.1 kB / 0.7395 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1775, allocations: 95.39 MB / 0.8327 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00813/0.1856, allocations: 5.279 MB / 0.8378 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004901/0.1905, allocations: 2.603 MB / 0.8404 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004786/0.191, allocations: 31.75 kB / 0.8404 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.193, allocations: 0.6846 MB / 0.8411 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.1941, allocations: 425.8 kB / 0.8415 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1951, allocations: 396.8 kB / 0.8418 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001172/0.1963, allocations: 0.9555 MB / 0.8428 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005291/0.1968, allocations: 366.6 kB / 0.8431 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005099/0.1973, allocations: 390.5 kB / 0.8435 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005592/0.1979, allocations: 402.4 kB / 0.8439 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.989e-05/0.198, allocations: 48 kB / 0.8439 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005777/0.1985, allocations: 331.2 kB / 0.8442 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.1988, allocations: 255.2 kB / 0.8445 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.1991, allocations: 290.6 kB / 0.8448 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.2002, allocations: 0.9844 MB / 0.8457 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.2002, allocations: 4 kB / 0.8457 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2002, allocations: 0 / 0.8457 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.2002, allocations: 0 / 0.8457 GB, free: 10.86 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.001538/0.2018, allocations: 0.9092 MB / 0.8466 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2018, allocations: 9.344 kB / 0.8466 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.2019, allocations: 98.69 kB / 0.8467 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.2032, allocations: 200.2 kB / 0.8469 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008665/0.2041, allocations: 459.7 kB / 0.8473 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.2041, allocations: 41.31 kB / 0.8474 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.2043, allocations: 60.23 kB / 0.8474 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.2056, allocations: 0.9784 MB / 0.8484 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.2056, allocations: 11.94 kB / 0.8484 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.2057, allocations: 16 kB / 0.8484 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.2058, allocations: 64.95 kB / 0.8485 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009111/0.2067, allocations: 0.5736 MB / 0.849 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004416/0.2112, allocations: 3.569 MB / 0.8525 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.2116, allocations: 275.2 kB / 0.8528 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.2119, allocations: 209.3 kB / 0.853 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.212, allocations: 4.266 kB / 0.853 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.212, allocations: 42.84 kB / 0.853 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.212, allocations: 0 / 0.853 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005473/0.2175, allocations: 2.34 MB / 0.8553 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.2175, allocations: 59.34 kB / 0.8554 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.2181, allocations: 473.9 kB / 0.8558 GB, free: 92 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.2181, allocations: 29.7 kB / 0.8559 GB, free: 56 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.2184, allocations: 348.5 kB / 0.8562 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.2185, allocations: 150.7 kB / 0.8563 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.2187, allocations: 106.3 kB / 0.8564 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.2189, allocations: 358.8 kB / 0.8568 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.2193, allocations: 245.2 kB / 0.857 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/0.2198, allocations: 411.3 kB / 0.8574 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/0.2207, allocations: 0.6711 MB / 0.8581 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2207, allocations: 4 kB / 0.8581 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001692/0.2224, allocations: 0.9134 MB / 0.859 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.2224, allocations: 11.94 kB / 0.859 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2225, allocations: 8 kB / 0.859 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007898/0.2232, allocations: 223 kB / 0.8592 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.2237, allocations: 111.8 kB / 0.8593 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/0.2292, allocations: 5.014 MB / 0.8642 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.2296, allocations: 27.97 kB / 0.8642 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.2296, allocations: 28.12 kB / 0.8642 GB, free: 6.922 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.0003155/0.2299, allocations: 229.5 kB / 0.8645 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/0.23, allocations: 55.67 kB / 0.8645 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.2315, allocations: 0.7695 MB / 0.8653 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2316, allocations: 4 kB / 0.8653 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2316, allocations: 4 kB / 0.8653 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2316, allocations: 0 / 0.8653 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.234, allocations: 1.396 MB / 0.8666 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.234, allocations: 4 kB / 0.8666 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.2344, allocations: 71.88 kB / 0.8667 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006908/0.2351, allocations: 202.6 kB / 0.8669 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.2351, allocations: 8.188 kB / 0.8669 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005095/0.2402, allocations: 4.945 MB / 0.8717 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2402, allocations: 0 / 0.8717 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.242, allocations: 1.132 MB / 0.8728 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.2423, allocations: 99.45 kB / 0.8729 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.2423, allocations: 8 kB / 0.8729 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.2427, allocations: 27.97 kB / 0.873 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.2427, allocations: 35.88 kB / 0.873 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.2428, allocations: 16 kB / 0.873 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003515/0.2431, allocations: 310.9 kB / 0.8733 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2431, allocations: 4.062 kB / 0.8733 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006483/0.2438, allocations: 172 kB / 0.8735 GB, free: 12.95 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.002136/0.2459, allocations: 1.68 MB / 0.8751 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.2476, allocations: 0.9655 MB / 0.8761 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2476, allocations: 0 / 0.8761 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009925/0.2486, allocations: 0.6682 MB / 0.8767 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008493/0.2494, allocations: 180.3 kB / 0.8769 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007933/0.2573, allocations: 5.624 MB / 0.8824 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.2577, allocations: 354.1 kB / 0.8827 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003345/0.2581, allocations: 113 kB / 0.8828 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.2583, allocations: 219.4 kB / 0.883 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.2583, allocations: 0 / 0.883 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05459/0.3129, allocations: 15.64 MB / 0.8983 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.12, allocations: 3.938 kB / 0.8983 GB, free: 3.48 MB / 0.6387 GB " [Timeout remaining time 648] (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: 16.345395502168685] Failed to read output from testmodel.py, exit status != 0: 12.2356340107508 12.259799886 12.055206846 Calling exit ...