Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001194/0.001194, allocations: 108.7 kB / 16.46 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.001323/0.001323, allocations: 216.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.353/1.353, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.002351/0.002351, allocations: 279.4 kB / 309.1 MB, free: 3.984 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.163/1.163, 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.002736/0.002736, allocations: 108 kB / 0.7343 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1454, allocations: 95.34 MB / 0.8274 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02721/0.1726, allocations: 22.95 MB / 0.8498 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.1836, allocations: 6.322 MB / 0.856 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.1851, allocations: 123.1 kB / 0.8561 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003916/0.189, allocations: 1.57 MB / 0.8576 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003727/0.1928, allocations: 1.735 MB / 0.8593 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.1959, allocations: 1.348 MB / 0.8606 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00711/0.203, allocations: 5.931 MB / 0.8664 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005757/0.2088, allocations: 4.479 MB / 0.8708 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003478/0.2122, allocations: 2.477 MB / 0.8732 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00407/0.2163, allocations: 3.077 MB / 0.8762 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006679/0.217, allocations: 456 kB / 0.8766 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.219, allocations: 1.116 MB / 0.8777 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002086/0.2211, allocations: 2.085 MB / 0.8798 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.2236, allocations: 2.167 MB / 0.8819 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007607/0.2312, allocations: 7.32 MB / 0.889 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2312, allocations: 0 / 0.889 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2312, allocations: 0 / 0.889 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001948/0.2314, allocations: 0 / 0.889 GB, free: 10.44 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007587/0.239, allocations: 3.921 MB / 0.8929 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.239, allocations: 8.031 kB / 0.8929 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006913/0.2397, allocations: 0.4937 MB / 0.8934 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006009/0.2457, allocations: 1.239 MB / 0.8946 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/0.2497, allocations: 2.349 MB / 0.8969 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.2499, allocations: 242.4 kB / 0.8971 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000524/0.2504, allocations: 312 kB / 0.8974 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009516/0.26, allocations: 6.209 MB / 0.9034 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-05/0.26, allocations: 19.83 kB / 0.9035 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/0.2604, allocations: 139.9 kB / 0.9036 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005075/0.2609, allocations: 418.3 kB / 0.904 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007442/0.2684, allocations: 4.654 MB / 0.9085 GB, free: 6.051 MB / 0.6544 GB 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.03293/0.3013, allocations: 29 MB / 0.9369 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.3035, allocations: 1.369 MB / 0.9382 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.3056, allocations: 1.433 MB / 0.9396 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.3057, allocations: 17 kB / 0.9396 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.3058, allocations: 47.5 kB / 0.9397 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 2.595e-06/0.3058, allocations: 0 / 0.9397 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of matching and sorting (n=179): time 0.1463/0.4521, allocations: 37.14 MB / 0.9759 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.4522, allocations: 77.34 kB / 0.976 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.4541, allocations: 1.427 MB / 0.9774 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.4543, allocations: 57.7 kB / 0.9774 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.4554, allocations: 1.575 MB / 0.979 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006546/0.4561, allocations: 0.6468 MB / 0.9796 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007553/0.4568, allocations: 383.5 kB / 0.98 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.457, allocations: 301.1 kB / 0.9803 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/0.4595, allocations: 1.784 MB / 0.982 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00304/0.4626, allocations: 2.35 MB / 0.9843 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006028/0.4686, allocations: 4.394 MB / 0.9886 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.4686, allocations: 8 kB / 0.9886 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.3551/0.8238, allocations: 8.429 MB / 0.9968 GB, free: 148.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.8238, allocations: 18.5 kB / 0.9969 GB, free: 148.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.8238, allocations: 18.94 kB / 0.9969 GB, free: 148.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01449/0.8383, allocations: 4.632 MB / 1.001 GB, free: 148.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.8395, allocations: 308.5 kB / 1.002 GB, free: 148.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03726/0.8768, allocations: 32.62 MB / 1.034 GB, free: 127.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.8787, allocations: 151.8 kB / 1.034 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.8788, allocations: 83.98 kB / 1.034 GB, free: 127.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001475/0.8803, allocations: 1.325 MB / 1.035 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.8806, allocations: 214.6 kB / 1.035 GB, free: 126 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/0.8951, allocations: 8.285 MB / 1.043 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.8951, allocations: 20 kB / 1.043 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.542e-05/0.8951, allocations: 31.98 kB / 1.043 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.8951, allocations: 7.969 kB / 1.043 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/0.9138, allocations: 12.69 MB / 1.056 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.9138, allocations: 12.03 kB / 1.056 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.9144, allocations: 167.7 kB / 1.056 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01274/0.9272, allocations: 4.488 MB / 1.06 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/0.9274, allocations: 32 kB / 1.06 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03537/0.9628, allocations: 32.24 MB / 1.092 GB, free: 67.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9628, allocations: 11.94 kB / 1.092 GB, free: 67.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/0.9765, allocations: 8.112 MB / 1.1 GB, free: 58.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.9775, allocations: 0.6207 MB / 1.1 GB, free: 58.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.9778, allocations: 43.88 kB / 1.1 GB, free: 58.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.9791, allocations: 135.8 kB / 1.101 GB, free: 57.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007233/0.9799, allocations: 172.9 kB / 1.101 GB, free: 57.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.98, allocations: 55.94 kB / 1.101 GB, free: 57.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009181/0.9809, allocations: 0.951 MB / 1.102 GB, free: 56.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6e-08/0.9809, allocations: 0 / 1.102 GB, free: 56.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00258/0.9835, allocations: 1.117 MB / 1.103 GB, free: 55.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01377/0.9973, allocations: 8.696 MB / 1.111 GB, free: 46.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.008, allocations: 6.312 MB / 1.117 GB, free: 40.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.008, allocations: 3.938 kB / 1.117 GB, free: 40.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007743/1.016, allocations: 4.176 MB / 1.122 GB, free: 36.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/1.018, allocations: 0.5336 MB / 1.122 GB, free: 35.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04767/1.066, allocations: 33.46 MB / 1.155 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002575/1.068, allocations: 2.723 MB / 1.157 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001026/1.069, allocations: 388.5 kB / 1.158 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.071, allocations: 1.218 MB / 1.159 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of SimCode: time 7.51e-07/1.071, allocations: 0 / 1.159 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1563/1.227, allocations: 84.57 MB / 1.242 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/14.08, allocations: 10.66 kB / 1.242 GB, free: 9.039 MB / 0.8262 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.017326736822724] Failed to read output from testmodel.py, exit status != 0: 14.191670838277787 14.205581689 13.971553585 Calling exit ...