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.001289/0.001289, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00133/0.00133, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002469/0.002469, allocations: 287.7 kB / 309.8 MB, free: 3.375 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.09/1.09, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="cs",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="cs",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.004607/0.004607, allocations: 103.8 kB / 0.7347 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5761/0.5807, allocations: 95.34 MB / 0.8278 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0284/0.6091, allocations: 22.95 MB / 0.8502 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.6227, allocations: 6.316 MB / 0.8564 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.6258, allocations: 131.5 kB / 0.8565 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005204/0.631, allocations: 1.584 MB / 0.858 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005581/0.6366, allocations: 1.721 MB / 0.8597 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004576/0.6412, allocations: 1.352 MB / 0.8611 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009072/0.6503, allocations: 5.94 MB / 0.8669 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007959/0.6582, allocations: 4.472 MB / 0.8712 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006204/0.6644, allocations: 2.479 MB / 0.8736 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0067/0.6711, allocations: 3.063 MB / 0.8766 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001745/0.6729, allocations: 457.2 kB / 0.8771 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003878/0.6767, allocations: 1.118 MB / 0.8782 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003549/0.6803, allocations: 2.087 MB / 0.8802 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006019/0.6863, allocations: 2.169 MB / 0.8823 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.6982, allocations: 7.311 MB / 0.8895 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6982, allocations: 0 / 0.8895 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6982, allocations: 0 / 0.8895 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002625/0.6985, allocations: 0 / 0.8895 GB, free: 10.82 MB / 0.6231 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.01093/0.7094, allocations: 3.922 MB / 0.8933 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.7095, allocations: 12.03 kB / 0.8933 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.978e-05/0.7096, allocations: 86.61 kB / 0.8934 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001001/0.7106, allocations: 0.5054 MB / 0.8939 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006873/0.7174, allocations: 1.22 MB / 0.8951 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005213/0.7226, allocations: 2.357 MB / 0.8974 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.7229, allocations: 242.4 kB / 0.8976 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008397/0.7237, allocations: 311.9 kB / 0.8979 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.7357, allocations: 6.216 MB / 0.904 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.094e-05/0.7358, allocations: 19.83 kB / 0.904 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000433/0.7362, allocations: 136 kB / 0.9041 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005591/0.7368, allocations: 406.3 kB / 0.9045 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009175/0.746, allocations: 4.662 MB / 0.9091 GB, free: 6.34 MB / 0.6387 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.03746/0.7834, allocations: 28.99 MB / 0.9374 GB, free: 6.645 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.7859, allocations: 1.377 MB / 0.9387 GB, free: 5.254 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.7881, allocations: 1.444 MB / 0.9401 GB, free: 3.809 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.7882, allocations: 9 kB / 0.9401 GB, free: 3.801 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.7882, allocations: 47.5 kB / 0.9402 GB, free: 3.746 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.076e-06/0.7882, allocations: 0 / 0.9402 GB, free: 3.746 MB / 0.67 GB Notification: Performance of matching and sorting (n=179): time 0.156/0.9443, allocations: 37.15 MB / 0.9764 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.9443, allocations: 73.34 kB / 0.9765 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.9466, allocations: 1.419 MB / 0.9779 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003646/0.9469, allocations: 53.7 kB / 0.978 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.9482, allocations: 1.59 MB / 0.9795 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008056/0.949, allocations: 0.6429 MB / 0.9801 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008053/0.9498, allocations: 383.5 kB / 0.9805 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.9499, allocations: 305.1 kB / 0.9808 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/0.9527, allocations: 1.784 MB / 0.9825 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00322/0.9559, allocations: 2.354 MB / 0.9848 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006434/0.9624, allocations: 4.383 MB / 0.9891 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.9624, allocations: 4 kB / 0.9891 GB, free: 1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01943/0.9818, allocations: 8.439 MB / 0.9974 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.9819, allocations: 12 kB / 0.9974 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.9819, allocations: 19.94 kB / 0.9974 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01633/0.9982, allocations: 4.642 MB / 1.002 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.9996, allocations: 299.5 kB / 1.002 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05258/1.052, allocations: 32.63 MB / 1.034 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/1.054, allocations: 147.8 kB / 1.034 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/1.055, allocations: 84 kB / 1.034 GB, free: 1.836 MB / 0.7637 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.002507/1.057, allocations: 1.335 MB / 1.036 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004865/1.058, allocations: 210.7 kB / 1.036 GB, free: 296 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0194/1.077, allocations: 8.289 MB / 1.044 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/1.077, allocations: 19.94 kB / 1.044 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.124e-05/1.077, allocations: 28 kB / 1.044 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.023e-05/1.077, allocations: 11.95 kB / 1.044 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02709/1.104, allocations: 12.69 MB / 1.056 GB, free: 11.04 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/1.104, allocations: 8 kB / 1.056 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/1.105, allocations: 159.8 kB / 1.057 GB, free: 10.87 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01589/1.121, allocations: 4.496 MB / 1.061 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002621/1.121, allocations: 40.12 kB / 1.061 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05238/1.174, allocations: 32.22 MB / 1.092 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/1.174, allocations: 11.94 kB / 1.092 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/1.192, allocations: 8.101 MB / 1.1 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.194, allocations: 0.6245 MB / 1.101 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000366/1.194, allocations: 43.86 kB / 1.101 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/1.196, allocations: 135.8 kB / 1.101 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008616/1.197, allocations: 165 kB / 1.101 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.197, allocations: 63.86 kB / 1.101 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001467/1.198, allocations: 0.951 MB / 1.102 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.1e-08/1.198, allocations: 7.938 kB / 1.102 GB, free: 11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003735/1.202, allocations: 1.117 MB / 1.103 GB, free: 9.887 MB / 0.8419 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.01897/1.221, allocations: 8.704 MB / 1.112 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01431/1.236, allocations: 6.316 MB / 1.118 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.236, allocations: 0 / 1.118 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01059/1.246, allocations: 4.186 MB / 1.122 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/1.249, allocations: 0.5259 MB / 1.123 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4123/1.661, allocations: 33.42 MB / 1.155 GB, free: 274.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004534/1.666, allocations: 2.725 MB / 1.158 GB, free: 273.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001169/1.667, allocations: 389.8 kB / 1.158 GB, free: 273.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.668, allocations: 1.219 MB / 1.159 GB, free: 272.8 MB / 0.8731 GB Notification: Performance of SimCode: time 1.062e-06/1.668, allocations: 0 / 1.159 GB, free: 272.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/1.794, allocations: 84.62 MB / 1.242 GB, free: 213.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/16.05, allocations: 7.922 kB / 1.242 GB, free: 213.8 MB / 0.8731 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 20.489222743024584] Failed to read output from testmodel.py, exit status != 0: 16.235702931997366 16.244792531 15.544121958 Calling exit ...